github.com/bgentry/go@v0.0.0-20150121062915-6cf5a733d54d/src/cmd/go/testdata/testimport/x_test.go (about) 1 package p_test 2 3 import ( 4 . "../testimport" 5 6 "./p2" 7 8 "testing" 9 ) 10 11 func TestF1(t *testing.T) { 12 if F() != p2.F() { 13 t.Fatal(F()) 14 } 15 }