Adds unit test to exhibit #10952

This commit is contained in:
jaubourg 2012-01-31 02:23:04 +01:00
parent 3f88249b44
commit 6eba066573

View File

@ -39,7 +39,7 @@ jQuery.each( tests, function( flags, resultString ) {
test( "jQuery.Callbacks( \"" + flags + "\" ) - " + filterLabel, function() {
expect( 19 );
expect( 20 );
// Give qunit a little breathing room
stop();
@ -56,6 +56,7 @@ jQuery.each( tests, function( flags, resultString ) {
});
cblist.fire( "A" );
strictEqual( output, "XA", "Basic binding and firing" );
strictEqual( cblist.fired(), true, ".fired() detects firing" );
output = "X";
cblist.disable();
cblist.add(function( str ) {