Commit bbd03ef
proto, protoc-gen-go: fix vet and gofmt errors for Go 1.10 (#508)
In Go 1.10, go vet and gofmt have changed their output in a way to breaks the current build and test cycle.
gofmt turns a one-line definition of a single-method interface into three lines; this causes a golden
comparison test to produce different results between Go 1.9 and Go 1.10.
go vet is now run by default with go test, which uncovered a bad Stringer argument in extension_test.go.
Tested on Go1.10rc1 and Go1.9.3.1 parent 9255415 commit bbd03ef
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2029 | 2029 | | |
2030 | 2030 | | |
2031 | 2031 | | |
2032 | | - | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
2033 | 2037 | | |
2034 | 2038 | | |
2035 | 2039 | | |
| |||
0 commit comments