From aa41feb5d947a647c90f8a6d4ae6f5880a648baf Mon Sep 17 00:00:00 2001 From: brianc Date: Sun, 10 Oct 2010 18:24:27 -0500 Subject: [PATCH] fixed test so it expects & verifies cstring --- test/communication-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/communication-tests.js b/test/communication-tests.js index 43e16de1..44bd5d92 100644 --- a/test/communication-tests.js +++ b/test/communication-tests.js @@ -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]) }); });