github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/empty_package/empty_package_test.go (about) 1 package empty_package_test 2 3 import ( 4 "fmt" 5 "testing" 6 7 "github.com/bazelbuild/rules_go/tests/empty_package/mixed" 8 ) 9 10 var Expect = "" 11 12 func TestValue(t *testing.T) { 13 got := fmt.Sprintf("%d", mixed.Value) 14 if got != Expect { 15 t.Errorf("got %q; want %q", got, Expect) 16 } 17 }