From fc875b0c1d4f5730a52ef538afce58b694690554 Mon Sep 17 00:00:00 2001 From: Brian Carlson Date: Mon, 7 Oct 2013 11:54:23 -0500 Subject: [PATCH] Rename method --- test/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.js b/test/index.js index 4d45a85c..5552b14c 100644 --- a/test/index.js +++ b/test/index.js @@ -76,7 +76,7 @@ test('read huge result', function(done) { var values = [] cursor = pgCursor(text, values); var count = 0; - var more = function() { + var read = function() { cursor.read(1000, function(err, rows) { if(err) return done(err); if(!rows.length) { @@ -90,5 +90,5 @@ test('read huge result', function(done) { setImmediate(more) }) } - more() + read() }, 100000)