Skip to content

Commit 23b29c9

Browse files
committed
Update a test to pass.
1 parent 6530ce2 commit 23b29c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/client/prepared-statement-tests.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ test('bound command', function() {
5050
assert.ok(client.connection.emit('readyForQuery'));
5151

5252
var query = client.query({
53-
text: 'select * form X where name = $1',
53+
text: 'select * from X where name = $1',
5454
values: ['hi']
5555
});
5656

5757
assert.emits(query,'end', function() {
5858
test('parse argument', function() {
5959
assert.equal(parseArg.name, null);
60-
assert.equal(parseArg.text, 'select * where name = $1');
60+
assert.equal(parseArg.text, 'select * from X where name = $1');
6161
assert.equal(parseArg.types, null);
6262
});
6363

0 commit comments

Comments
 (0)