Skip to content

Commit 2a215bc

Browse files
committed
Skip upsert test on older versions.
1 parent 0d76b3f commit 2a215bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/upsert.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('query properties', function() {
88
db.run("CREATE TABLE foo (id INT PRIMARY KEY, count INT)", done);
99
});
1010

11-
it('should upsert', function(done) {
11+
(sqlite3.VERSION_NUMBER < 3024000 ? it.skip : it)('should upsert', function(done) {
1212
var stmt = db.prepare("INSERT INTO foo VALUES(?, ?)");
1313
stmt.run(1, 1, function(err) { // insert 1
1414
if (err) throw err;

0 commit comments

Comments
 (0)