mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
add integrity check to write tests
This commit is contained in:
@@ -73,6 +73,11 @@ class InsertTest(BaseModel):
|
|||||||
lambda res: res == str(self.vals * 2),
|
lambda res: res == str(self.vals * 2),
|
||||||
"Counting total rows inserted",
|
"Counting total rows inserted",
|
||||||
)
|
)
|
||||||
|
sqlite.run_test_fn(
|
||||||
|
"PRAGMA integrity_check;",
|
||||||
|
lambda res: res == "ok",
|
||||||
|
"Integrity Check",
|
||||||
|
)
|
||||||
console.info()
|
console.info()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user