patch 1.1.5 (#530)

This commit is contained in:
anqiansong
2021-03-01 21:14:07 +08:00
committed by GitHub
parent 655ae8034c
commit dd393351cc
4 changed files with 61 additions and 15 deletions

View File

@@ -78,9 +78,4 @@ func TestRpcGenerate(t *testing.T) {
return strings.Contains(err.Error(), "not in GOROOT") || strings.Contains(err.Error(), "cannot find package")
}())
}
// invalid directory
projectDir = filepath.Join(t.TempDir(), ".....")
err = g.Generate("./test.proto", projectDir, nil)
assert.NotNil(t, err)
}