diff --git a/Makefile b/Makefile index 7df77ee..cd5e617 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,6 @@ unit: go vet $$(go list ./... | grep -v /vendor/) .PHONY: integration -integration: VERSION=v1337 integration: build bats integration diff --git a/integration/test.bats b/integration/test.bats index 8eb2060..33e6b52 100755 --- a/integration/test.bats +++ b/integration/test.bats @@ -29,7 +29,7 @@ wait_for() { @test "it prints the version" { run "${BATS_TEST_DIRNAME}/../supercronic" -version - [[ "$output" =~ ^v1337$ ]] + [[ "$output" != " ]] } @test "it starts" {