mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
fix tests locally
This commit is contained in:
@@ -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())
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user