Browse Source

Require without .js in test-repl

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
cd48649c61
  1. 2
      test/simple/test-repl.js

2
test/simple/test-repl.js

@ -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');

Loading…
Cancel
Save