fix binary name in e2e test

This commit is contained in:
lyyyuna 2020-06-13 20:18:13 +08:00
parent be87886315
commit fe93aca1a6

View File

@ -145,7 +145,7 @@ var _ = Describe("E2E", func() {
By("check generated binary")
objects := []string{GOPATH + "/bin", oriWorkingDir}
for _, dir := range objects {
obj := filepath.Join(dir, "simple_gopath_project")
obj := filepath.Join(dir, "simple-gopath-project")
fInfo, err := os.Lstat(obj)
Expect(err).To(BeNil())
Expect(startTime.Before(fInfo.ModTime())).To(Equal(true), "new binary should be generated, not the old one")