Skip to content

Commit

Permalink
make the window.id test resilient to off-by-one errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpizz committed Nov 10, 2011
1 parent aa71821 commit d8aa96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -255,7 +255,7 @@ asyncTest("can call require() twice for the same namespace and get the exact sam
});

asyncTest("can call traditional asynchronous echo function when global id is set", function(){
window.id = 1;
window.id = 999;
var testlib = loadNewTestingLibraryWithLightningjs();
expect(1);
testlib("asynchronousEcho", "hello world", function(echoText) {
Expand Down

0 comments on commit d8aa96a

Please sign in to comment.