mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
failing test for null result in data row
This commit is contained in:
parent
cc82286741
commit
c8a02e19d1
@ -34,14 +34,13 @@ test('simple query', function() {
|
||||
ended++;
|
||||
});
|
||||
|
||||
stream.emit('data', buffers.dataRow(["!"]));
|
||||
stream.emit('data', buffers.dataRow(["!",null]));
|
||||
|
||||
test('row has one item', function() {
|
||||
assert.length(rowData, 1);
|
||||
});
|
||||
|
||||
test('row has correct data', function() {
|
||||
assert.length(rowData, 2);
|
||||
assert.equal(rowData[0], "!");
|
||||
assert.equal(rowData[1], null);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user