protobuf-go/protogen
Joe Tsai 94a8510010 protogen: fix protogen_test.go
The test had a "golden" tag, which meant that it wasn't being tested.

Changes made:
* Alter the test to avoid shelling out to protoc
* Modify TestFiles to TestNoGoPackage, where the testdata files seem
concerned about making sure the lack of a go_package statement works
* Upgrade to latest cmp, which provides diffing for multiline strings
* Delete protogen/testdata directory

Change-Id: Ic576167bfce1046f45c8c614d0ab76af8c5ba723
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/167279
Reviewed-by: Damien Neil <dneil@google.com>
2019-03-13 17:12:03 +00:00
..
names_test.go protogen: use full path for generated file variable name 2019-03-01 00:13:31 +00:00
names.go protogen: use full path for generated file variable name 2019-03-01 00:13:31 +00:00
protogen_test.go protogen: fix protogen_test.go 2019-03-13 17:12:03 +00:00
protogen.go protogen: drop dependency on golang.org/x/tools/go/ast/astutil 2019-03-11 19:34:12 +00:00