Skip to content

Commit

Permalink
relative requires for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Aug 23, 2011
1 parent 4cb7bcb commit 9d4d4c5
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion test/circular.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');
var deepEqual = require('./lib/deep_equal');
var util = require('util');

Expand Down
2 changes: 1 addition & 1 deletion test/date.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports.dateEach = function () {
var obj = { x : new Date, y : 10, z : 5 };
Expand Down
2 changes: 1 addition & 1 deletion test/equal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var traverse = require('traverse');
var traverse = require('../');
var deepEqual = require('./lib/deep_equal');

exports.deepDates = function () {
Expand Down
2 changes: 1 addition & 1 deletion test/instance.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');
var EventEmitter = require('events').EventEmitter;

exports['check instanceof on node elems'] = function () {
Expand Down
2 changes: 1 addition & 1 deletion test/interface.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports['interface map'] = function () {
var obj = { a : [ 5,6,7 ], b : { c : [8] } };
Expand Down
2 changes: 1 addition & 1 deletion test/json.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports['json test'] = function () {
var id = 54;
Expand Down
2 changes: 1 addition & 1 deletion test/keys.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports['sort test'] = function () {
var acc = [];
Expand Down
2 changes: 1 addition & 1 deletion test/leaves.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports['leaves test'] = function () {
var acc = [];
Expand Down
2 changes: 1 addition & 1 deletion test/mutability.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');
var deepEqual = require('./lib/deep_equal');

exports.mutate = function () {
Expand Down
2 changes: 1 addition & 1 deletion test/negative.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var Traverse = require('traverse');
var Traverse = require('../');
var assert = require('assert');

exports['negative update test'] = function () {
Expand Down
2 changes: 1 addition & 1 deletion test/obj.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports['traverse an object with nested functions'] = function () {
var to = setTimeout(function () {
Expand Down
2 changes: 1 addition & 1 deletion test/siblings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var traverse = require('traverse');
var traverse = require('../');

exports.siblings = function () {
var obj = { a : 1, b : 2, c : [ 4, 5, 6 ] };
Expand Down
2 changes: 1 addition & 1 deletion test/stop.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var traverse = require('traverse');
var traverse = require('../');

exports.stop = function () {
var visits = 0;
Expand Down
2 changes: 1 addition & 1 deletion test/stringify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var Traverse = require('traverse');
var Traverse = require('../');

exports.stringify = function () {
var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ];
Expand Down
2 changes: 1 addition & 1 deletion test/subexpr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var traverse = require('traverse');
var traverse = require('../');
var assert = require('assert');

exports.subexpr = function () {
Expand Down
2 changes: 1 addition & 1 deletion test/super_deep.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var traverse = require('traverse');
var traverse = require('../');
var deepEqual = require('./lib/deep_equal');

exports.super_deep = function () {
Expand Down

0 comments on commit 9d4d4c5

Please sign in to comment.