From c161eecce09fc66ce252d4adf64b565f726bb6d2 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Tue, 8 Sep 2015 03:28:56 +0300 Subject: [PATCH] Tests: more style corrections Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546 Closes gh-2578 --- test/unit/core.js | 2 +- test/unit/data.js | 2 +- test/unit/event.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/core.js b/test/unit/core.js index e2178a374..a899e1365 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1394,7 +1394,7 @@ QUnit.test( "jQuery.parseHTML", function( assert ) { if ( jQuery.support.createHTMLDocument ) { QUnit.asyncTest( "jQuery.parseHTML", function( assert ) { - assert.expect ( 1 ); + assert.expect( 1 ); Globals.register( "parseHTMLError" ); diff --git a/test/unit/data.js b/test/unit/data.js index e105be252..53cd3a4bb 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -843,7 +843,7 @@ QUnit.test( "acceptData", function( assert ) { form = jQuery( "#form" ).append( "" )[ 0 ]; 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 ) { assert.expect( 1 ); diff --git a/test/unit/event.js b/test/unit/event.js index 4c7660e4a..f932317d2 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -2493,7 +2493,7 @@ testIframeWithCallback( var input = jQuery( frameDoc ).find( "#frame-input" ); // 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" ); } ); -- 2.39.5