]> source.dussan.org Git - jquery.git/commitdiff
Fix #9901, verified by this unit test.
authorDave Methvin <dave.methvin@gmail.com>
Tue, 20 Sep 2011 13:16:13 +0000 (09:16 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 20 Sep 2011 13:17:38 +0000 (09:17 -0400)
test/unit/event.js

index c00eb202c07eca88b3683a11386e47588b232ec0..a7a989a567b0efee65b2a8769c945a1ba40260c1 100644 (file)
@@ -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++;
        });