node/test/fixtures/path.js

9 lines
366 B
JavaScript
Raw Normal View History

// This is actually more a fixture than a test. It is used to make
2012-02-20 20:22:12 +08:00
var common = require('../common');
// sure that require('./path') and require('path') do different things.
// It has to be in the same directory as the test 'test-module-loading.js'
// and it has to have the same name as an internal module.
exports.path_func = function() {
return 'path_func';
};