Skip to content

Commit 28e6311

Browse files
committed
Fix unit tests
1 parent e7997f8 commit 28e6311

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/commands/carvel_publish_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var _ = Describe("CarvelPublish", func() {
6262
"--output-file", filepath.Join(tmpDir, "out.pivotal"),
6363
})
6464
Expect(err).To(HaveOccurred())
65-
Expect(err.Error()).To(ContainSubstring("Kilnfile not found"))
65+
Expect(err.Error()).To(ContainSubstring("could not find Kilnfile"))
6666
Expect(err.Error()).To(ContainSubstring("kiln carvel upload"))
6767
})
6868
})

internal/commands/carvel_upload_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var _ = Describe("CarvelUpload", func() {
5050
"--source-directory", tmpDir,
5151
})
5252
Expect(err).To(HaveOccurred())
53-
Expect(err.Error()).To(ContainSubstring("Kilnfile not found"))
53+
Expect(err.Error()).To(ContainSubstring("could not find Kilnfile"))
5454
})
5555
})
5656

0 commit comments

Comments
 (0)