aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-09-20 09:16:13 -0400
committerDave Methvin <dave.methvin@gmail.com>2011-09-20 09:17:38 -0400
commit63c9719330668f0165da1390e3aa53d4011aa0c2 (patch)
tree0196a38d5f5cff4f5ce767b966fbb7172536f470 /test/unit
parent70e2e32e0eb03607ad0c8b7752dbd7747da47164 (diff)
downloadjquery-63c9719330668f0165da1390e3aa53d4011aa0c2.tar.gz
jquery-63c9719330668f0165da1390e3aa53d4011aa0c2.zip
Fix #9901, verified by this unit test.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/event.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/event.js b/test/unit/event.js
index c00eb202c..a7a989a56 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -1527,15 +1527,17 @@ test("live with multiple events", function(){
});
test("live with namespaces", function(){
- expect(12);
+ expect(15);
var count1 = 0, count2 = 0;
jQuery("#liveSpan1").live("foo.bar", function(e){
+ equals( e.namespace, "bar", "namespace is bar" );
count1++;
});
jQuery("#liveSpan1").live("foo.zed", function(e){
+ equals( e.namespace, "zed", "namespace is zed" );
count2++;
});