aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/core.js')
-rw-r--r--test/unit/core.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/core.js b/test/unit/core.js
index 0f6d5b34e..a6f490c47 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -386,6 +386,12 @@ test("each(Function)", function() {
ok( pass, "Execute a function, Relative" );
});
+test("index()", function() {
+ expect(1);
+
+ equals( jQuery("#text2").index(), 2, "Returns the index of a child amongst its siblings" )
+});
+
test("index(Object|String|undefined)", function() {
expect(16);