aboutsummaryrefslogtreecommitdiffstats
path: root/test/jqLiteSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/jqLiteSpec.js')
-rw-r--r--test/jqLiteSpec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/jqLiteSpec.js b/test/jqLiteSpec.js
index 913e6192..79c0d0c6 100644
--- a/test/jqLiteSpec.js
+++ b/test/jqLiteSpec.js
@@ -900,15 +900,15 @@ describe('jqLite', function() {
expect(function() {
elm.on('click', anObj, callback);
- }).toThrowMatching(/\[jqLite\:onargs\]/);
+ }).toThrowMinErr('jqLite', 'onargs');
expect(function() {
elm.on('click', null, aString, callback);
- }).toThrowMatching(/\[jqLite\:onargs\]/);
+ }).toThrowMinErr('jqLite', 'onargs');
expect(function() {
elm.on('click', aValue, callback);
- }).toThrowMatching(/\[jqLite\:onargs\]/);
+ }).toThrowMinErr('jqLite', 'onargs');
});
}