|
|
@ -107,7 +107,7 @@ common.debug('load modules by absolute id, then change require.paths, ' + |
|
|
|
'and load another module with the same absolute id.'); |
|
|
|
// this will throw if it fails.
|
|
|
|
var foo = require('../fixtures/require-path/p1/foo'); |
|
|
|
process.assert(foo.bar.expect === foo.bar.actual); |
|
|
|
assert.ok(foo.bar.expect === foo.bar.actual); |
|
|
|
|
|
|
|
assert.equal(require('../fixtures/foo').foo, 'ok', |
|
|
|
'require module with no extension'); |
|
|
|