Require without .js in test-repl

This commit is contained in:
Ryan Dahl committed 2010-12-01 13:40:28 -08:00
1 parent d8f2880ca4
commit cd48649c61
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ var net = require("net"),
server_tcp, server_unix, client_tcp, client_unix, timer;
// absolute path to test/fixtures/a.js
var moduleFilename = require("path").join(common.fixturesDir, "a.js");
var moduleFilename = require("path").join(common.fixturesDir, "a");
common.error('repl test');