fixed test so it expects & verifies cstring

This commit is contained in:
brianc 2010-10-10 18:24:27 -05:00
parent 3271b5b016
commit aa41feb5d9

View File

@ -77,7 +77,7 @@ test('query queue', function() {
var handled = stream.emit('data', buffers.readyForQuery());
assert.ok(handled, "Stream should have had data handled");
assert.length(stream.packets, 1);
assert.equalBuffers(stream.packets[0], [0x51,0,0,0,5,33])
assert.equalBuffers(stream.packets[0], [0x51,0,0,0,6,33,0])
});
});