Permalink
Browse files

Added missing failure message to failure generated by the user

  • Loading branch information...
1 parent d17357a commit 9f2d52600456415088167f6406b7440eeb4961c0 @igstan committed Jun 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 jSpec.js
View
@@ -49,7 +49,7 @@
};
jSpec.fail = function (message) {
- throw new Error;
+ throw new Error(message);
};
jSpec.pending = function (message) {

0 comments on commit 9f2d526

Please sign in to comment.