aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-12-09 20:36:07 -0800
committerJohn Resig <jeresig@gmail.com>2009-12-09 20:36:07 -0800
commit04524287d3e0112deae570ff9247c734833431bb (patch)
treec37d4e70022c9486f230bf52af579efbf5869fb0 /test
parentb846ad4ca060a100dec3ace5711f96a083bc4ac3 (diff)
downloadjquery-04524287d3e0112deae570ff9247c734833431bb.tar.gz
jquery-04524287d3e0112deae570ff9247c734833431bb.zip
Switched jQuery() to represent jQuery([]) instead of jQuery(document).
Diffstat (limited to 'test')
-rw-r--r--test/unit/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/core.js b/test/unit/core.js
index df610eb20..252c9f99d 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -16,7 +16,7 @@ test("jQuery()", function() {
// Basic constructor's behavior
- equals( jQuery().length, 1, "jQuery() === jQuery(document)" );
+ equals( jQuery().length, 0, "jQuery() === jQuery([])" );
equals( jQuery(undefined).length, 0, "jQuery(undefined) === jQuery([])" );
equals( jQuery(null).length, 0, "jQuery(null) === jQuery([])" );
equals( jQuery("").length, 0, "jQuery('') === jQuery([])" );