github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/package_named_build/build/build_test.go (about)

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