github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/cgo_trans_deps/cgo_test.go (about)

     1  package cgo_trans_deps
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/bazelbuild/rules_go/tests/cgo_trans_deps/dep"
     7  )
     8  
     9  func TestCgoTransDeps(t *testing.T) {
    10  	if dep.X != 42 {
    11  		t.Errorf("got %d; want %d", dep.X, 42)
    12  	}
    13  }