aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-09-08 03:28:56 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-09-08 04:06:20 +0300
commitc161eecce09fc66ce252d4adf64b565f726bb6d2 (patch)
tree6f61c4288dc2bf46d3c6c617e3d823ee797fffae
parentc8d15a2f9f108e90d3651c31e4abf45415a30fde (diff)
downloadjquery-c161eecce09fc66ce252d4adf64b565f726bb6d2.tar.gz
jquery-c161eecce09fc66ce252d4adf64b565f726bb6d2.zip
Tests: more style corrections
Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546 Closes gh-2578
-rw-r--r--test/unit/core.js2
-rw-r--r--test/unit/data.js2
-rw-r--r--test/unit/event.js2
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( "<input id='nodeType'/><input id='nodeName'/>" )[ 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" );
} );