Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b1c3561

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

1 file changed

+3Lines changed: 3 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/constants.test.js‎

Copy file name to clipboardExpand all lines: test/constants.test.js
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.