Skip to content

Commit b2a2d02

Browse files
committed
fixed test, column should be accessed with name
1 parent 6b032c4 commit b2a2d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/integration/client/type-coercion-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var testForTypeCoercion = function(type){
2323
});
2424

2525
assert.emits(query, 'row', function(row) {
26-
assert.strictEqual(row.col, val, "expected " + type.name + " of " + val + " but got " + row[0]);
26+
assert.strictEqual(row.col, val, "expected " + type.name + " of " + val + " but got " + row.col);
2727
}, "row should have been called for " + type.name + " of " + val);
2828

2929
client.query('delete from test_type');

0 commit comments

Comments
 (0)