added test & fix for missing 'sys' require in query.js
This commit is contained in:
parent
836084db59
commit
8ec671a67c
@ -1,4 +1,5 @@
|
|||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
|
var sys = require('sys');var sys = require('sys');
|
||||||
|
|
||||||
var Query = function(config) {
|
var Query = function(config) {
|
||||||
this.text = config.text;
|
this.text = config.text;
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
sys = require('sys');
|
|
||||||
assert = require('assert');
|
|
||||||
|
|
||||||
require.paths.unshift(__dirname + '/../lib/');
|
require.paths.unshift(__dirname + '/../lib/');
|
||||||
|
|
||||||
Client = require('client');
|
Client = require('client');
|
||||||
EventEmitter = require('events').EventEmitter;
|
EventEmitter = require('events').EventEmitter;
|
||||||
|
|
||||||
|
sys = require('sys');
|
||||||
|
assert = require('assert');
|
||||||
BufferList = require(__dirname+'/buffer-list')
|
BufferList = require(__dirname+'/buffer-list')
|
||||||
buffers = require(__dirname + '/test-buffers');
|
buffers = require(__dirname + '/test-buffers');
|
||||||
Connection = require('connection');
|
Connection = require('connection');
|
||||||
|
Loading…
Reference in New Issue
Block a user