From a4894b099226e20f4cd10ba85f7bb4d4fbcdc9bd Mon Sep 17 00:00:00 2001 From: Christoph Sassenberg Date: Wed, 24 Jan 2018 09:04:03 +0100 Subject: [PATCH] Add missing file specs --- in_command_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/in_command_test.go b/in_command_test.go index e1b0760..f1f1108 100644 --- a/in_command_test.go +++ b/in_command_test.go @@ -468,6 +468,10 @@ var _ = Describe("In Command", func() { contents, err = ioutil.ReadFile(path.Join(destDir, "version")) Ω(err).ShouldNot(HaveOccurred()) Ω(string(contents)).Should(Equal("0.35.0")) + + contents, err = ioutil.ReadFile(path.Join(destDir, "commit_sha")) + Ω(err).ShouldNot(HaveOccurred()) + Ω(string(contents)).Should(Equal("f28085a4a8f744da83411f5e09fd7b1709149eee")) }) }) @@ -532,6 +536,7 @@ var _ = Describe("In Command", func() { It("does not create the tag and version files", func() { Ω(path.Join(destDir, "tag")).ShouldNot(BeAnExistingFile()) Ω(path.Join(destDir, "version")).ShouldNot(BeAnExistingFile()) + Ω(path.Join(destDir, "commit_sha")).ShouldNot(BeAnExistingFile()) }) }) })