github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/compiler/natives/src/strings/strings_test.go (about)

     1  //go:build js
     2  // +build js
     3  
     4  package strings_test
     5  
     6  import "testing"
     7  
     8  func TestBuilderAllocs(t *testing.T) {
     9  	t.Skip("runtime.ReadMemStats, testing.AllocsPerRun not supported in GopherJS")
    10  }
    11  
    12  func TestBuilderGrow(t *testing.T) {
    13  	t.Skip("runtime.ReadMemStats, testing.AllocsPerRun not supported in GopherJS")
    14  }
    15  
    16  func TestCompareStrings(t *testing.T) {
    17  	t.Skip("unsafeString not supported in GopherJS")
    18  }
    19  
    20  func TestClone(t *testing.T) {
    21  	t.Skip("conversion to reflect.StringHeader is not supported in GopherJS")
    22  }