Fixes, internal docs.

This commit is contained in:
Nuno Cruces
2024-10-22 13:08:31 +01:00
parent 21de004779
commit b9b489aae9
4 changed files with 57 additions and 35 deletions

View File

@@ -60,6 +60,11 @@ func TestConn_Config(t *testing.T) {
if o != false {
t.Error("want false")
}
_, err = db.Config(0)
if !errors.Is(err, sqlite3.MISUSE) {
t.Errorf("got %v, want MISUSE", err)
}
}
func TestConn_ConfigLog(t *testing.T) {