github.com/bgentry/go@v0.0.0-20150121062915-6cf5a733d54d/src/cmd/go/testdata/testimport/p_test.go (about)

     1  package p
     2  
     3  import (
     4  	"./p1"
     5  
     6  	"testing"
     7  )
     8  
     9  func TestF(t *testing.T) {
    10  	if F() != p1.F() {
    11  		t.Fatal(F())
    12  	}
    13  }