github.com/goplusjs/gopherjs@v1.2.6-0.20211206034512-f187917453b8/compiler/natives/src/bytes/bytes_test.go (about)

     1  // +build js
     2  
     3  package bytes_test
     4  
     5  import (
     6  	"testing"
     7  )
     8  
     9  func dangerousSlice(t *testing.T) []byte {
    10  	t.Skip("dangerousSlice relies on syscall.Getpagesize, which GopherJS doesn't implement")
    11  
    12  	panic("unreachable")
    13  }