瀏覽代碼

protoc-gen-go: fix release tag in golden_test (#590)

The 1.9 release tag is "go1.9", not "1.9".
Damien Neil 7 年之前
父節點
當前提交
acbe2df654
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      protoc-gen-go/golden_test.go

+ 1 - 1
protoc-gen-go/golden_test.go

@@ -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 {