aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-01-28 17:17:51 -0500
committerjeresig <jeresig@gmail.com>2010-01-28 17:17:51 -0500
commitb8076a914ba9d400dc9c48d866b145df6fabafcf (patch)
tree92f01020d1cd816630686dcc269add95191f4251 /test
parent0db207da238e879dad20f68178e6248750d3b984 (diff)
downloadjquery-b8076a914ba9d400dc9c48d866b145df6fabafcf.tar.gz
jquery-b8076a914ba9d400dc9c48d866b145df6fabafcf.zip
Landing some minor perf optimization to jQuery().
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 54ad982d2..4576ab8eb 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -25,7 +25,7 @@ test("jQuery()", function() {
equals( jQuery(obj).selector, "div", "jQuery(jQueryObj) == jQueryObj" );
// 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)" );
+ equals( jQuery(window).length, 1, "Correct number of elements generated for jQuery(window)" );
var main = jQuery("#main");