summaryrefslogtreecommitdiff
path: root/test/fixtures/nested-index
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-01-27 13:14:47 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-01-27 14:02:43 -0800
commit6cdeb3b3fd16d261efefd340ec3dd30b6a441444 (patch)
tree40bff94b5e3b6a96a04164894b3a2eefe537ff4f /test/fixtures/nested-index
parent36ef5643c3a3dc1a43e80ede442d4d1cd29b6a68 (diff)
downloadnode-new-6cdeb3b3fd16d261efefd340ec3dd30b6a441444.tar.gz
A module ID with a trailing slash must be a dir.
require('./foo/') should not try to load './foo.js'. It should only look for ./foo/index.js Closes GH-588
Diffstat (limited to 'test/fixtures/nested-index')
-rw-r--r--test/fixtures/nested-index/three.js0
-rw-r--r--test/fixtures/nested-index/three/index.js0
2 files changed, 0 insertions, 0 deletions
diff --git a/test/fixtures/nested-index/three.js b/test/fixtures/nested-index/three.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/fixtures/nested-index/three.js
diff --git a/test/fixtures/nested-index/three/index.js b/test/fixtures/nested-index/three/index.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/fixtures/nested-index/three/index.js