diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-01 17:22:49 +0200 |
---|---|---|
committer | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-01 17:22:49 +0200 |
commit | 5c1463313d5de675ccdf654a339dca33a8609534 (patch) | |
tree | 1506551c7d32b99cf91a36f2d8caeafd4d881868 /pkg | |
parent | 0355fc3008cc57e20c082432fcd80afcc3e5ecc4 (diff) |
respect localized output of rmdir
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/os_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/os_test.go b/pkg/commands/os_test.go index a7ccef560..f73b78d47 100644 --- a/pkg/commands/os_test.go +++ b/pkg/commands/os_test.go @@ -29,7 +29,7 @@ func TestOSCommandRunCommandWithOutput(t *testing.T) { { "rmdir unexisting-folder", func(output string, err error) { - assert.Regexp(t, ".*No such file or directory.*", err.Error()) + assert.Regexp(t, "rmdir: .* 'unexisting-folder': .*", err.Error()) }, }, } @@ -49,7 +49,7 @@ func TestOSCommandRunCommand(t *testing.T) { { "rmdir unexisting-folder", func(err error) { - assert.Regexp(t, ".*No such file or directory.*", err.Error()) + assert.Regexp(t, "rmdir: .* 'unexisting-folder': .*", err.Error()) }, }, } |