aboutsummaryrefslogtreecommitdiffstats
path: root/test/jqLiteSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/jqLiteSpec.js')
-rw-r--r--test/jqLiteSpec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/jqLiteSpec.js b/test/jqLiteSpec.js
index f8d71bc9..abfad064 100644
--- a/test/jqLiteSpec.js
+++ b/test/jqLiteSpec.js
@@ -886,15 +886,15 @@ describe('jqLite', function() {
expect(function() {
elm.on('click', anObj, callback);
- }).toThrow();
+ }).toThrowMatching(/\[jqLite\:onargs\]/);
expect(function() {
elm.on('click', null, aString, callback);
- }).toThrow();
+ }).toThrowMatching(/\[jqLite\:onargs\]/);
expect(function() {
elm.on('click', aValue, callback);
- }).toThrow();
+ }).toThrowMatching(/\[jqLite\:onargs\]/);
});
}
@@ -1059,7 +1059,7 @@ describe('jqLite', function() {
aElem.on('click', noop);
expect(function () {
aElem.off('click', noop, '.test');
- }).toThrowMatching(/\[jqLite:off_args\]/);
+ }).toThrowMatching(/\[jqLite:offargs\]/);
});
}
});