diff --git a/pg.go b/pg.go index fa99502..c574a8b 100755 --- a/pg.go +++ b/pg.go @@ -527,5 +527,4 @@ func FormatForSQL(datatype string, value interface{}) string { return fmt.Sprint(pq.QuoteLiteral(strval)) } return fmt.Sprint(strval) - } diff --git a/pg_test.go b/pg_test.go index fb8a187..61aa8d1 100755 --- a/pg_test.go +++ b/pg_test.go @@ -12,7 +12,7 @@ func TestCreateTable(t *testing.T) { db := Open("postgres", "host=127.0.0.1 port=5432 user=test password=test dbname=test sslmode=disable") defer db.Close() - jsonFile, err := os.Open("testtype_table.json") + jsonFile, err := os.Open("test_table.json") if err != nil { fmt.Println(err) }