1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-06 23:46:13 +02:00

fix tests locally

This commit is contained in:
Anthony HAMON 2018-09-04 06:29:48 +02:00
parent df3e7abd68
commit 172cd7c687

View File

@ -46,7 +46,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, "rmdir: .* 'unexisting-folder': .*", err.Error()) assert.Regexp(t, "rmdir.*unexisting-folder.*", err.Error())
}, },
}, },
} }
@ -66,7 +66,7 @@ func TestOSCommandRunCommand(t *testing.T) {
{ {
"rmdir unexisting-folder", "rmdir unexisting-folder",
func(err error) { func(err error) {
assert.Regexp(t, "rmdir: .* 'unexisting-folder': .*", err.Error()) assert.Regexp(t, "rmdir.*unexisting-folder.*", err.Error())
}, },
}, },
} }