aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/WidgetsTest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/WidgetsTest.js b/test/WidgetsTest.js
index 4e3852a5..313d7372 100644
--- a/test/WidgetsTest.js
+++ b/test/WidgetsTest.js
@@ -18,7 +18,7 @@ WidgetTest.prototype.testValidator = function () {
var scope = new Scope({$invalidWidgets:[]});
var cntl = new TextController(view[0], 'a', angularFormatter.noop);
angular.validator.testValidator = function(value, expect){
- return value == expect ? null : "Error text";
+ return value == expect ? false : "Error text";
};
scope.set('a', '');