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:
parent
df3e7abd68
commit
172cd7c687
@ -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())
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user