fix: fix exec windows command test failed

This commit is contained in:
dudaodong committed 2022-01-23 14:40:59 +08:00
1 parent 6f035f710e
commit e07d54d1da
2 files changed
+6 -1

No files matched your search

+3 -1
View File
@@ -56,5 +56,7 @@ func TestExecCommand(t *testing.T) {
t.Logf("error: %v\n", err)
}
assert.IsNotNil(err)
if !IsWindows() {
assert.IsNotNil(err)
}
}