mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: more style corrections
Provocated by jscs-dev/node-jscs@2de68c0d83 Closes gh-2578
This commit is contained in:
parent
c8d15a2f9f
commit
c161eecce0
@ -1394,7 +1394,7 @@ QUnit.test( "jQuery.parseHTML", function( assert ) {
|
|||||||
|
|
||||||
if ( jQuery.support.createHTMLDocument ) {
|
if ( jQuery.support.createHTMLDocument ) {
|
||||||
QUnit.asyncTest( "jQuery.parseHTML", function( assert ) {
|
QUnit.asyncTest( "jQuery.parseHTML", function( assert ) {
|
||||||
assert.expect ( 1 );
|
assert.expect( 1 );
|
||||||
|
|
||||||
Globals.register( "parseHTMLError" );
|
Globals.register( "parseHTMLError" );
|
||||||
|
|
||||||
|
@ -843,7 +843,7 @@ QUnit.test( "acceptData", function( assert ) {
|
|||||||
|
|
||||||
form = jQuery( "#form" ).append( "<input id='nodeType'/><input id='nodeName'/>" )[ 0 ];
|
form = jQuery( "#form" ).append( "<input id='nodeType'/><input id='nodeName'/>" )[ 0 ];
|
||||||
assert.equal( 42, jQuery( form ) .data( "test", 42 ).data( "test" ), "form with aliased DOM properties" );
|
assert.equal( 42, jQuery( form ) .data( "test", 42 ).data( "test" ), "form with aliased DOM properties" );
|
||||||
});
|
} );
|
||||||
|
|
||||||
QUnit.test( "Check proper data removal of non-element descendants nodes (#8335)", function( assert ) {
|
QUnit.test( "Check proper data removal of non-element descendants nodes (#8335)", function( assert ) {
|
||||||
assert.expect( 1 );
|
assert.expect( 1 );
|
||||||
|
@ -2493,7 +2493,7 @@ testIframeWithCallback(
|
|||||||
var input = jQuery( frameDoc ).find( "#frame-input" );
|
var input = jQuery( frameDoc ).find( "#frame-input" );
|
||||||
|
|
||||||
// Create a focusin handler on the parent; shouldn't affect the iframe's fate
|
// Create a focusin handler on the parent; shouldn't affect the iframe's fate
|
||||||
jQuery ( "body" ).on( "focusin.iframeTest", function() {
|
jQuery( "body" ).on( "focusin.iframeTest", function() {
|
||||||
assert.ok( false, "fired a focusin event in the parent document" );
|
assert.ok( false, "fired a focusin event in the parent document" );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user