added test & fix for missing 'sys' require in query.js

This commit is contained in:
brianc 2010-11-03 16:47:26 -05:00
parent 836084db59
commit 8ec671a67c
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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');