aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
authorMisko Hevery2011-02-03 16:35:51 -0800
committerMisko Hevery2011-02-04 13:44:22 -0800
commit46d690ff0188836688811dda9af1b99c44750c48 (patch)
treef2253031ba3c8574ec93f03a18bb9fb2667aef51 /test/testabilityPatch.js
parent882f412d578e4f01394847fa5fde21b6b4096de2 (diff)
downloadangular.js-46d690ff0188836688811dda9af1b99c44750c48.tar.bz2
smarter normalization of value on option, and htmlParser fixes
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index 76033ab2..e0086b8a 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -70,7 +70,7 @@ beforeEach(function(){
expected = toJson(this.actual);
}
return "Expected " + expected + " to be an Error with message " + toJson(message);
- }
+ };
return this.actual.name == 'Error' && this.actual.message == message;
},
@@ -83,7 +83,7 @@ beforeEach(function(){
expected = toJson(this.actual);
}
return "Expected " + expected + " to match an Error with message " + toJson(messageRegexp);
- }
+ };
return this.actual.name == 'Error' && messageRegexp.test(this.actual.message);
}
});