Skip to content

Commit 1df2504

Browse files
committed
compiler/natives/src/bytes: Skip all tests that rely on syscall.Getpagesize.
Fixes: --- FAIL: TestIndexByteNearPageBoundary (0.00s) Error: runtime error: native function not implemented: syscall.Getpagesize FAIL bytes 19.341s
1 parent aed37b5 commit 1df2504

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler/natives/src/bytes/bytes_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import (
66
"testing"
77
)
88

9-
func TestEqualNearPageBoundary(t *testing.T) {
10-
t.Skip()
9+
func dangerousSlice(t *testing.T) []byte {
10+
t.Skip("dangerousSlice relies on syscall.Getpagesize, which GopherJS doesn't implement")
11+
12+
panic("unreachable")
1113
}

0 commit comments

Comments
 (0)