mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Adds unit test to exhibit #10952
This commit is contained in:
parent
3f88249b44
commit
6eba066573
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user