1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-23 21:51:07 +02:00

respect localized output of rmdir

This commit is contained in:
Dawid Dziurla 2018-09-01 17:22:49 +02:00
parent 0355fc3008
commit 5c1463313d
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

@ -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())
},
},
}