From 335bdf2b1a296cc1e77afe5e33727bf33150443b Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Tue, 10 Jul 2012 21:44:03 -0400 Subject: [PATCH] Remove a few stray spaces in unit tests. --- test/unit/manipulation.js | 2 +- test/unit/offset.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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() {