Remove debug log from unittests
This commit is contained in:
parent
18a89f4cbd
commit
41f449d6c9
|
@ -3,7 +3,6 @@ package database
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
@ -90,8 +89,7 @@ func TestDeleteResult(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
fmt.Printf("%s", tmpfile.Name())
|
defer os.Remove(tmpfile.Name())
|
||||||
//defer os.Remove(tmpfile.Name())
|
|
||||||
|
|
||||||
tmpdir, err := ioutil.TempDir("", "oonitest")
|
tmpdir, err := ioutil.TempDir("", "oonitest")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user