Skip to content

Commit b0e1e07

Browse files
authored
test: fix check for darwin/arm64 in TestDefaultNumWorkers (#70)
1 parent f8029ee commit b0e1e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastwalk_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ func TestDefaultNumWorkers(t *testing.T) {
13991399
})
14001400

14011401
t.Run("Darwin_ARM64", func(t *testing.T) {
1402-
if runtime.GOOS != "darwin" && runtime.GOARCH != "arm64" {
1402+
if runtime.GOOS != "darwin" || runtime.GOARCH != "arm64" {
14031403
t.Skip("test only supported on darwin/arm64")
14041404
}
14051405
// Not all platforms have syscall.SysctlUint32 so shell out to

0 commit comments

Comments
 (0)