Permalink
Browse files

Fix the module.id test, module.uri is only a MAY in the CommonJS Modu…

…les spec.
  • Loading branch information...
1 parent 10ba5d7 commit 9df7bf2dce45a6a6486bf38ac429b180d7c75b09 @jrburke jrburke committed May 18, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/basic/circular-tests.js
@@ -10,9 +10,8 @@ function(require, two, funcTwo, funcThree) {
function circular(t) {
t.is("small", args.size);
t.is("redtwo", args.color);
- //Check CommonJS "module" property support.
- t.is("one", oneMod.name);
- t.is("one.js", oneMod.uri);
+ //Check CommonJS "module.id" property support.
+ t.is("one", oneMod.id);
}
]
);

0 comments on commit 9df7bf2

Please sign in to comment.