From 4e4538d99a600391f680dd7c27e089b0cf18cc95 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 10 Sep 2017 14:29:02 +0800 Subject: [PATCH] fix default go test (#717) --- xorm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorm_test.go b/xorm_test.go index c4b029f7..1a757d3f 100644 --- a/xorm_test.go +++ b/xorm_test.go @@ -22,7 +22,7 @@ var ( db = flag.String("db", "sqlite3", "the tested database") showSQL = flag.Bool("show_sql", true, "show generated SQLs") - ptrConnStr = flag.String("conn_str", "", "test database connection string") + ptrConnStr = flag.String("conn_str", "./test.db?cache=shared&mode=rwc", "test database connection string") mapType = flag.String("map_type", "snake", "indicate the name mapping") cache = flag.Bool("cache", false, "if enable cache") )