mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
respect localized output of rmdir
This commit is contained in:
@@ -29,7 +29,7 @@ func TestOSCommandRunCommandWithOutput(t *testing.T) {
|
|||||||
{
|
{
|
||||||
"rmdir unexisting-folder",
|
"rmdir unexisting-folder",
|
||||||
func(output string, err error) {
|
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",
|
"rmdir unexisting-folder",
|
||||||
func(err error) {
|
func(err error) {
|
||||||
assert.Regexp(t, ".*No such file or directory.*", err.Error())
|
assert.Regexp(t, "rmdir: .* 'unexisting-folder': .*", err.Error())
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user