mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
fix tests locally
This commit is contained in:
parent
df3e7abd68
commit
172cd7c687
|
|
@ -46,7 +46,7 @@ func TestOSCommandRunCommandWithOutput(t *testing.T) {
|
|||
{
|
||||
"rmdir unexisting-folder",
|
||||
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",
|
||||
func(err error) {
|
||||
assert.Regexp(t, "rmdir: .* 'unexisting-folder': .*", err.Error())
|
||||
assert.Regexp(t, "rmdir.*unexisting-folder.*", err.Error())
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue