Skip to content

Commit

Permalink
Fixed typo in clock.runAll error
Browse files Browse the repository at this point in the history
Error would previously say `"Aborting after running 1000timers, assuming an infinite loop!" (notice the lack of space between `1000` and `timers`). Adding a space there.
  • Loading branch information
Josh Goldberg authored and fatso83 committed Jan 15, 2017
1 parent 26b9e38 commit dd89315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lolex-src.js
Expand Up @@ -551,7 +551,7 @@
clock.next();
}

throw new Error("Aborting after running " + clock.loopLimit + "timers, assuming an infinite loop!");
throw new Error("Aborting after running " + clock.loopLimit + " timers, assuming an infinite loop!");
};

clock.runToLast = function runToLast() {
Expand Down

0 comments on commit dd89315

Please sign in to comment.