From a57c9e79d9da9beba9aeb85e05443b380ec0a7ee Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Mon, 9 Feb 2015 01:45:11 -0600 Subject: [PATCH] Tweak client test teardown error message --- client_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client_test.go b/client_test.go index 424962b..90911c3 100644 --- a/client_test.go +++ b/client_test.go @@ -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) } }