Skip to content

Commit 55ef172

Browse files
committed
test: fix assertion
1 parent d9e2fc5 commit 55ef172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-sqlite-statement-sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ suite('StatementSync.prototype.run()', () => {
249249
);
250250
t.assert.strictEqual(setup, undefined);
251251
const stmt = db.prepare('INSERT INTO data (key, val) VALUES (?1, ?1)');
252-
stmt.run(1);
252+
t.assert.deepStrictEqual(stmt.run(1), { changes: 1, lastInsertRowid: 1 });
253253
});
254254
});
255255

0 commit comments

Comments
 (0)