Skip to content

Commit

Permalink
Updated version tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Franks committed Aug 6, 2015
1 parent 6d9ee6a commit b49c478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func TestMain(t *testing.T) {
stderr = ""
main()
So(stdout, ShouldEqual, "")
So(stderr, ShouldEqual, "spruce - Version 0.3\n") // SED MARKER FOR AUTO VERSION BUMPING
So(stderr, ShouldEqual, fmt.Sprintf("spruce - Version %s\n", VERSION))
So(rc, ShouldEqual, 0)
})
Convey("When '--version' is specified", func() {
Expand All @@ -148,7 +148,7 @@ func TestMain(t *testing.T) {
stderr = ""
main()
So(stdout, ShouldEqual, "")
So(stderr, ShouldEqual, "spruce - Version 0.3\n") // SED MARKER FOR AUTO VERSION BUMPING
So(stderr, ShouldEqual, fmt.Sprintf("spruce - Version %s\n", VERSION))
So(rc, ShouldEqual, 0)
})
})
Expand Down

0 comments on commit b49c478

Please sign in to comment.