Skip to content

Commit b1c3561

Browse files
committed
Add test for OPEN_URI, OPEN_SHAREDCACHE and OPEN_PRIVATECACHE
1 parent 5f3a351 commit b1c3561

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/constants.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ describe('constants', function() {
66
assert.ok(sqlite3.OPEN_READONLY === 1);
77
assert.ok(sqlite3.OPEN_READWRITE === 2);
88
assert.ok(sqlite3.OPEN_CREATE === 4);
9+
assert.ok(sqlite3.OPEN_URI === 0x00000040);
910
assert.ok(sqlite3.OPEN_FULLMUTEX === 0x00010000);
11+
assert.ok(sqlite3.OPEN_SHAREDCACHE === 0x00020000);
12+
assert.ok(sqlite3.OPEN_PRIVATECACHE === 0x00040000);
1013
});
1114

1215
it('should have the right error flags', function() {

0 commit comments

Comments
 (0)