mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 16:46:25 -04:00
respect localized output of rmdir
This commit is contained in:
parent
0355fc3008
commit
5c1463313d
|
|
@ -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())
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue