Skip to content

Commit dbc84f6

Browse files
committed
changed integration test to depend on row array methods for
future-proofing any accidental api change
1 parent 2efe451 commit dbc84f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ test("prepared statements on different clients", function() {
136136

137137
test('gets right data', function() {
138138
assert.emits(query, 'row', function(row) {
139-
assert.equal(row[0], 1);
139+
assert.equal(row.pop(), 1);
140140
});
141141
});
142142

0 commit comments

Comments
 (0)