Skip to content

Commit

Permalink
simplifying test dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
thlorenz committed Mar 7, 2014
1 parent f08dceb commit c5c5465
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
"url": "git://github.com/thlorenz/doctoc.git"
},
"scripts": {
"test": "set -e; for t in test/**/*.js; do node $t; done"
"test": "set -e; for t in test/*.js; do node $t; done"
},
"main": "doctoc.js",
"bin": "doctoc.js",
2 changes: 1 addition & 1 deletion test/lib/transform.js → test/transform.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
/*jshint asi: true */

var test = require('tap').test
, transform = require('../../lib/transform')
, transform = require('../lib/transform')

function inspect(obj, depth) {
console.log(require('util').inspect(obj, false, depth || 5, true));

0 comments on commit c5c5465

Please sign in to comment.