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 } 16