Use full import paths for test protos.
diff --git a/proto/text_parser_test.go b/proto/text_parser_test.go
index 1360e8e..2e51da3 100644
--- a/proto/text_parser_test.go
+++ b/proto/text_parser_test.go
@@ -36,9 +36,9 @@
 	"reflect"
 	"testing"
 
-	proto3pb "./proto3_proto"
-	. "./testdata"
 	. "github.com/golang/protobuf/proto"
+	proto3pb "github.com/golang/protobuf/proto/proto3_proto"
+	. "github.com/golang/protobuf/proto/testdata"
 )
 
 type UnmarshalTextTest struct {