aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-07-16 07:31:47 +0000
committerYehuda Katz <wycats@gmail.com>2009-07-16 07:31:47 +0000
commit6b912beb7b7ba3147112b8291ba3d3deb888bdba (patch)
treec021a447c068110e258d12e5f6eff0578c3ff775 /test
parente532dfe5228217f55a33122a4438fd70522dbb4b (diff)
downloadjquery-6b912beb7b7ba3147112b8291ba3d3deb888bdba.tar.gz
jquery-6b912beb7b7ba3147112b8291ba3d3deb888bdba.zip
Clear some dangling whitespace
Diffstat (limited to 'test')
-rw-r--r--test/unit/core.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/core.js b/test/unit/core.js
index 05c512b4c..347864eaf 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -15,16 +15,16 @@ test("jQuery()", function() {
expect(11);
// Basic constructor's behavior
-
+
equals( jQuery().length, 1, "jQuery() === jQuery(document)" );
equals( jQuery(undefined).length, 0, "jQuery(undefined) === jQuery([])" );
equals( jQuery(null).length, 0, "jQuery(null) === jQuery([])" );
equals( jQuery("").length, 0, "jQuery('') === jQuery([])" );
-
+
// can actually yield more than one, when iframes are included, the window is an array as well
equals( 1, jQuery(window).length, "Correct number of elements generated for jQuery(window)" );
-
-
+
+
var main = jQuery("#main");
isSet( jQuery("div p", main).get(), q("sndp", "en", "sap"), "Basic selector with jQuery object as context" );
@@ -533,7 +533,7 @@ test("jQuery.each(Object,Function)", function() {
total = 0;
jQuery.each({"a":3,"b":3,"c":3}, function(i,v){ total += v; return false; });
equals( total, 3, "Looping over an object, with break" );
-
+
var f = function(){};
f.foo = 'bar';
jQuery.each(f, function(i){