diff options
author | Anthony HAMON <hamon.anth@gmail.com> | 2018-09-04 06:29:48 +0200 |
---|---|---|
committer | Anthony HAMON <hamon.anth@gmail.com> | 2018-09-04 08:32:43 +0200 |
commit | 172cd7c6871d47fee9fd132c3c3df0afd71bc445 (patch) | |
tree | 5b3e2c06abe25eb2d4494199c67e010ca4abd99f /pkg | |
parent | df3e7abd688d17982d477f67e05670cacdff4bb4 (diff) |
fix tests locally
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/os_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/os_test.go b/pkg/commands/os_test.go index 5d1644a38..01173fb15 100644 --- a/pkg/commands/os_test.go +++ b/pkg/commands/os_test.go @@ -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()) }, }, } |