Commit a51201cc738eda4d8938672eaa636ac088316df4

Brian Lopez 2011-06-11T22:05:26

use proper in-memory database for sqlite3 tests

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/t11-sqlite.c b/tests/t11-sqlite.c
index 61ecf98..e9e08ac 100644
--- a/tests/t11-sqlite.c
+++ b/tests/t11-sqlite.c
@@ -53,7 +53,7 @@ static git_odb *open_sqlite_odb(void)
 	if (git_odb_new(&odb) < GIT_SUCCESS)
 		return NULL;
 
-	if (git_odb_backend_sqlite(&sqlite, ":memory") < GIT_SUCCESS)
+	if (git_odb_backend_sqlite(&sqlite, ":memory:") < GIT_SUCCESS)
 		return NULL;
 
 	if (git_odb_add_backend(odb, sqlite, 0) < GIT_SUCCESS)