Skip to content

Commit

Permalink
removed duplicated test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Knetic committed Jul 3, 2016
1 parent b3f8214 commit 0daf59c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export GOPATH="${TEMPORARY_PATH}"
pushd "${TEMPORARY_PATH}/src/govaluate"

# run the actual tests.
go test -coverprofile coverage.out
go test -bench=. -coverprofile coverage.out
status=$?

if [ "${status}" != 0 ];
Expand All @@ -26,6 +26,5 @@ then
fi

go tool cover -func=coverage.out
go test -bench=.

popd

0 comments on commit 0daf59c

Please sign in to comment.