From: Dave Methvin Date: Wed, 11 Jul 2012 01:44:03 +0000 (-0400) Subject: Remove a few stray spaces in unit tests. X-Git-Tag: 1.8rc1~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=335bdf2b1a296cc1e77afe5e33727bf33150443b;p=jquery.git Remove a few stray spaces in unit tests. --- diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 5d794b9bc..31426e739 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1360,7 +1360,7 @@ test("html(undefined)", function() { test("html() on empty set", function() { expect(1); - strictEqual( jQuery( ).html(), undefined, ".html() returns undefined for empty sets (#11962)" ); + strictEqual( jQuery().html(), undefined, ".html() returns undefined for empty sets (#11962)" ); }); var testHtml = function(valueObj) { diff --git a/test/unit/offset.js b/test/unit/offset.js index 348c1bd17..6d00e8dac 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -11,8 +11,8 @@ module("offset", { teardown: moduleTeardown }); test("empty set", function() { expect(2); - strictEqual( jQuery( ).offset(), undefined, "offset() returns undefined for empty set (#11962)" ); - strictEqual( jQuery( ).position(), undefined, "position() returns undefined for empty set (#11962)" ); + strictEqual( jQuery().offset(), undefined, "offset() returns undefined for empty set (#11962)" ); + strictEqual( jQuery().position(), undefined, "position() returns undefined for empty set (#11962)" ); }); test("disconnected node", function() {