github.com/ipld/go-ipld-prime@v0.21.0/schema/gen/go/testScalars_test.go (about)

     1  package gengo
     2  
     3  import (
     4  	"runtime"
     5  	"testing"
     6  
     7  	"github.com/ipld/go-ipld-prime/node/tests"
     8  )
     9  
    10  func TestScalars(t *testing.T) {
    11  	if runtime.GOOS != "darwin" { // TODO: enable parallelism on macos
    12  		t.Parallel()
    13  	}
    14  
    15  	engine := &genAndCompileEngine{prefix: "scalars"}
    16  	tests.SchemaTestScalars(t, engine)
    17  }