Skip to content
Browse files

Simplify legacy unit test dir structure

  • Loading branch information...
1 parent 93f9335 commit 4cb6496862009c5112cd5d3ff56d03225d577aa2 @felixge committed Nov 26, 2011
View
2 test/unit/legacy/simple/test-auth.js → test/unit/legacy/test-auth.js
@@ -1,4 +1,4 @@
-var common = require('../common');
+var common = require('./common');
var auth = require(common.dir.lib + '/auth');
function test(test) {
View
2 test/unit/legacy/simple/test-client.js → test/unit/legacy/test-client.js
@@ -1,4 +1,4 @@
-var common = require('../common');
+var common = require('./common');
var Parser = require(common.dir.lib + '/parser');
var constants = require(common.dir.lib + '/constants');
var Client = require(common.dir.lib + '/client');
View
2 ...nit/legacy/simple/test-outgoing-packet.js → test/unit/legacy/test-outgoing-packet.js
@@ -1,4 +1,4 @@
-var common = require('../common');
+var common = require('./common');
var OutgoingPacket = require(common.dir.lib + '/outgoing_packet'),
Buffer = require('buffer').Buffer;
View
2 test/unit/legacy/simple/test-parser.js → test/unit/legacy/test-parser.js
@@ -1,4 +1,4 @@
-var common = require('../common');
+var common = require('./common');
var EventEmitter = require('events').EventEmitter,
Parser = require(common.dir.lib + '/parser'),
parser,
View
2 test/unit/legacy/simple/test-query.js → test/unit/legacy/test-query.js
@@ -1,4 +1,4 @@
-var common = require('../common');
+var common = require('./common');
var Query = require(common.dir.lib + '/query');
var EventEmitter = require('events').EventEmitter;
var Parser = require(common.dir.lib + '/parser');

0 comments on commit 4cb6496

Please sign in to comment.
Something went wrong with that request. Please try again.