Skip to content

Commit

Permalink
protoc-gen-go: fix release tag in golden_test (#590)
Browse files Browse the repository at this point in the history
The 1.9 release tag is "go1.9", not "1.9".
  • Loading branch information
neild authored Apr 30, 2018
1 parent fae8ec6 commit acbe2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protoc-gen-go/golden_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestGolden(t *testing.T) {

// Find all the proto files we need to compile. We assume that each directory
// contains the files for a single package.
supportTypeAliases := hasReleaseTag("1.9")
supportTypeAliases := hasReleaseTag("go1.9")
packages := map[string][]string{}
err = filepath.Walk("testdata", func(path string, info os.FileInfo, err error) error {
if filepath.Base(path) == "import_public" && !supportTypeAliases {
Expand Down

0 comments on commit acbe2df

Please sign in to comment.