Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandpoulter committed Nov 30, 2012
1 parent 77e55b3 commit 0d9a536
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,6 +6,6 @@
"repository": {"type": "git", "url": "git://github.com/rolandpoulter/node-require-stars"},
"description": "",
"dependencies": {},
"devDependencies": {"spc": "0.0.3"},
"scripts": {"test": "npm ./test"}
"devDependencies": {},
"scripts": {"test": "node ./test"}
}
6 changes: 3 additions & 3 deletions test/test.js → test/index.js
@@ -1,4 +1,4 @@
require('./index.js')();
require('../index.js')();

var assert = require('assert');

Expand All @@ -14,7 +14,7 @@ assert(test['1/2/b'] === '1.2.b');

var flatExports = [];

require('./enum')(test, function (exports, name, path, obj) {
require('../enum')(test, function (exports, name, path, obj) {
flatExports.push(exports);
});

Expand All @@ -24,7 +24,7 @@ assert(flatExports.join(',') === 'a,b,1.a,1.b,1.2.a,1.2.b');
flatExports = [];
test = require('./test_dir/*');

require('./enum')(test, function (exports) {flatExports.push(exports);});
require('../enum')(test, function (exports) {flatExports.push(exports);});

assert(flatExports.join(',') === 'a,b');

Expand Down

0 comments on commit 0d9a536

Please sign in to comment.