Skip to content

Commit 5a1b4db

Browse files
committed
test doc
1 parent 0054313 commit 5a1b4db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function testPersistence() {
4848
check(db.exec("SELECT * FROM my_table;"), []); // make sure its gone
4949
db.close();
5050

51+
// Create a new db with the data we saved from before
5152
var db2 = SQL.open(data);
5253
check(db2.exec("SELECT * FROM my_table;"), [
5354
[{ "column": "a", "value": "1" }, { "column": "b", "value": "987" }, { "column": "c", "value": "some other number" }],

0 commit comments

Comments
 (0)