Tweak client test teardown error message
This commit is contained in:
parent
772e854aa6
commit
a57c9e79d9
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user