未验证 提交 9a68c904 编写于 作者: P priyawadhwa 提交者: GitHub

Merge pull request #9140 from priyawadhwa/unit-test

Fix unit test
......@@ -107,10 +107,6 @@ func newBinaryFromPR(pr string) (*Binary, error) {
return b, nil
}
func remoteMinikubeURL(pr int) string {
return fmt.Sprintf("https://storage.googleapis.com/minikube-builds/%d/minikube-linux-amd64", pr)
}
func localMinikubePath(pr int) string {
return fmt.Sprintf("%s/minikube-binaries/%d/minikube", constants.DefaultMinipath, pr)
}
......@@ -52,10 +52,6 @@ func TestNewBinary(t *testing.T) {
input, prNum string
errExpected bool
}{
{
input: prPrefix + "42",
prNum: "42",
},
{
input: "42",
prNum: "42",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册