Skip to content

Commit

Permalink
Remove platform specific asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Aug 13, 2010
1 parent 4bbab14 commit 0312343
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/simple/test-module-loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ try {
require(loadOrder + 'file3');
} catch (e) {
// Not a real .node module, but we know we require'd the right thing.
assert.ok(e.message.match(/^dlopen/));
assert.ok(e.message.match(/file3\.node/));
}
assert.equal(require(loadOrder + 'file4').file4, 'file4.reg', msg);
Expand All @@ -147,7 +146,6 @@ assert.equal(require(loadOrder + 'file6').file6, 'file6/index.js', msg);
try {
require(loadOrder + 'file7');
} catch (e) {
assert.ok(e.message.match(/^dlopen/));
assert.ok(e.message.match(/file7\/index\.node/));
}
assert.equal(require(loadOrder + 'file8').file8, 'file8/index.reg', msg);
Expand Down

0 comments on commit 0312343

Please sign in to comment.