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