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:
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…
x
Reference in New Issue
Block a user