Add a test case to detect regression on issue fixed by PR #39.

Related issue is #38. Time to start expanding functional test coverage since
the integration tests missed this.
This commit is contained in:
Will Rouesnel
2016-11-29 02:12:51 +11:00
parent 8f3088611b
commit 3ead0f9aff
3 changed files with 91 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ vet:
go vet .
test:
go test -v .
go test -v -cover .
test-integration: postgres_exporter postgres_exporter_integration_test
tests/test-smoke ./postgres_exporter ./postgres_exporter_integration_test