mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-10 07:29:25 +00:00
add test for reading from sqlite file
This commit is contained in:
@@ -47,6 +47,12 @@ func TestGoodDbSqlite(t *testing.T) {
|
|||||||
"dsn": ":memory:",
|
"dsn": ":memory:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "file db",
|
||||||
|
params: map[string]any{
|
||||||
|
"dsn": "test.db",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, test := range testCases {
|
for _, test := range testCases {
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user