mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove a few stray spaces in unit tests.
This commit is contained in:
parent
662380014f
commit
335bdf2b1a
@ -1360,7 +1360,7 @@ test("html(undefined)", function() {
|
|||||||
|
|
||||||
test("html() on empty set", function() {
|
test("html() on empty set", function() {
|
||||||
expect(1);
|
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) {
|
var testHtml = function(valueObj) {
|
||||||
|
@ -11,8 +11,8 @@ module("offset", { teardown: moduleTeardown });
|
|||||||
|
|
||||||
test("empty set", function() {
|
test("empty set", function() {
|
||||||
expect(2);
|
expect(2);
|
||||||
strictEqual( jQuery( ).offset(), undefined, "offset() 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)" );
|
strictEqual( jQuery().position(), undefined, "position() returns undefined for empty set (#11962)" );
|
||||||
});
|
});
|
||||||
|
|
||||||
test("disconnected node", function() {
|
test("disconnected node", function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user