Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
b1c35614
Commit
b1c35614
authored
Dec 09, 2018
by
Guenter Sandner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for OPEN_URI, OPEN_SHAREDCACHE and OPEN_PRIVATECACHE
parent
5f3a351c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
constants.test.js
test/constants.test.js
+3
-0
No files found.
test/constants.test.js
View file @
b1c35614
...
@@ -6,7 +6,10 @@ describe('constants', function() {
...
@@ -6,7 +6,10 @@ describe('constants', function() {
assert
.
ok
(
sqlite3
.
OPEN_READONLY
===
1
);
assert
.
ok
(
sqlite3
.
OPEN_READONLY
===
1
);
assert
.
ok
(
sqlite3
.
OPEN_READWRITE
===
2
);
assert
.
ok
(
sqlite3
.
OPEN_READWRITE
===
2
);
assert
.
ok
(
sqlite3
.
OPEN_CREATE
===
4
);
assert
.
ok
(
sqlite3
.
OPEN_CREATE
===
4
);
assert
.
ok
(
sqlite3
.
OPEN_URI
===
0x00000040
);
assert
.
ok
(
sqlite3
.
OPEN_FULLMUTEX
===
0x00010000
);
assert
.
ok
(
sqlite3
.
OPEN_FULLMUTEX
===
0x00010000
);
assert
.
ok
(
sqlite3
.
OPEN_SHAREDCACHE
===
0x00020000
);
assert
.
ok
(
sqlite3
.
OPEN_PRIVATECACHE
===
0x00040000
);
});
});
it
(
'should have the right error flags'
,
function
()
{
it
(
'should have the right error flags'
,
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment