Tweak client test teardown error message

This commit is contained in:
Dan Sosedoff 2015-02-09 01:45:11 -06:00
parent 772e854aa6
commit a57c9e79d9

View File

@ -60,11 +60,10 @@ func teardownClient() {
}
func teardown() {
out, err := exec.Command(testCommands["dropdb"], "-U", "postgres", "-h", "localhost", "booktown").CombinedOutput()
_, err := exec.Command(testCommands["dropdb"], "-U", "postgres", "-h", "localhost", "booktown").CombinedOutput()
if err != nil {
fmt.Println(string(out))
fmt.Println("Error:", err)
fmt.Println("Teardown error:", err)
}
}