Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 8f7804f

Browse files
test passing
1 parent ee04d54 commit 8f7804f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/integration_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ var _ = ginkgo.Describe("Tx Types", func() {
559559

560560
var newFile *os.File
561561
ginkgo.By("download file", func() {
562-
newFile, err = ioutil.TempFile("spacesvm-integration", "")
562+
newFile, err = ioutil.TempFile("", "computer")
563563
gomega.Ω(err).Should(gomega.BeNil())
564564

565565
err = tree.Download(instances[0].cli, path, newFile)
@@ -600,10 +600,10 @@ var _ = ginkgo.Describe("Tx Types", func() {
600600
<-d
601601

602602
// Should error
603-
dummyFile, err := ioutil.TempFile("spacesvm-integration", "")
603+
dummyFile, err := ioutil.TempFile("", "computer_copy")
604604
gomega.Ω(err).Should(gomega.BeNil())
605605
err = tree.Download(instances[0].cli, path, dummyFile)
606-
gomega.Ω(err).Should(gomega.BeNil())
606+
gomega.Ω(err).Should(gomega.MatchError(tree.ErrMissing))
607607
dummyFile.Close()
608608
})
609609
})

0 commit comments

Comments
 (0)