From 63c9719330668f0165da1390e3aa53d4011aa0c2 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Tue, 20 Sep 2011 09:16:13 -0400 Subject: [PATCH] Fix #9901, verified by this unit test. --- test/unit/event.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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++; }); -- 2.39.5