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
f737e967
Commit
f737e967
authored
Feb 23, 2011
by
Konstantin Käfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure to create the tmp directory before testing and remove the listener warning in node v0.4
parent
a4cdfdd2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Makefile
Makefile
+2
-0
prepare.test.js
test/prepare.test.js
+2
-0
No files found.
Makefile
View file @
f737e967
...
...
@@ -13,9 +13,11 @@ db:
ifndef
only
test
:
build db
@
rm
-rf
./test/tmp
&&
mkdir
-p
./test/tmp
@
expresso
-I
lib
test
/
*
.test.js
else
test
:
build db
@
rm
-rf
./test/tmp
&&
mkdir
-p
./test/tmp
@
expresso
-I
lib
test
/
${
only
}
.test.js
endif
...
...
test/prepare.test.js
View file @
f737e967
...
...
@@ -2,6 +2,8 @@ var sqlite3 = require('sqlite3');
var
assert
=
require
(
'assert'
);
var
Step
=
require
(
'step'
);
if
(
process
.
setMaxListeners
)
process
.
setMaxListeners
(
0
);
exports
[
'test simple prepared statement with invalid SQL'
]
=
function
(
beforeExit
)
{
var
error
=
false
;
var
db
=
new
sqlite3
.
Database
(
':memory:'
);
...
...
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