node/test
Nick Stenning 0a3eff8021 Standardise module load order for native and registered file extensions.
This patch standardises the load order for modules. Highest priority is trying to load exactly the file the user specified, followed by native extensions, followed by registered extra extensions, etc.

In full, if we require('foo') having registered '.coffee' as an alternative extension, we try and load the following files in order:

    foo
    foo.js
    foo.node
    foo.coffee
    foo/index.js
    foo/index.node
    foo/index.coffee
2010-08-04 16:03:08 -07:00
..
disabled Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
fixtures Standardise module load order for native and registered file extensions. 2010-08-04 16:03:08 -07:00
internet Split tests. 2010-02-25 11:41:11 -08:00
message Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
pummel Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
simple Standardise module load order for native and registered file extensions. 2010-08-04 16:03:08 -07:00
common.js Update tests to work with module contexts 2010-07-15 14:21:31 -07:00