aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-03 20:48:40 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-03 20:48:40 +0000
commite0c7e6aec4cf55854217d5c0b2c7069ce84a3d12 (patch)
treeb9384416d5364468a01e098a9f10654ed6e5531f
parent02483b4a593fb5ae9bb3925f6fe9641e31e2828e (diff)
downloadjquery-e0c7e6aec4cf55854217d5c0b2c7069ce84a3d12.tar.gz
jquery-e0c7e6aec4cf55854217d5c0b2c7069ce84a3d12.zip
Updated test for #750
-rw-r--r--build/test/index.html5
-rw-r--r--src/selector/selectorTest.js4
2 files changed, 7 insertions, 2 deletions
diff --git a/build/test/index.html b/build/test/index.html
index 8037c3936..081fb1199 100644
--- a/build/test/index.html
+++ b/build/test/index.html
@@ -72,6 +72,11 @@
<option id="option3c" selected="selected" value="2">2</option>
<option id="option3d" value="3">3</option>
</select>
+
+ <object id="object1" codebase="stupid">
+ <param id="param1" />
+ <param id="param2" />
+ </object>
</form>
<b id="floatTest">Float test.</b>
</div>
diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js
index 422f84a4f..aded7cd2f 100644
--- a/src/selector/selectorTest.js
+++ b/src/selector/selectorTest.js
@@ -7,8 +7,8 @@ test("expressions - element", function() {
t( "Element Selector", "body", ["body"] );
t( "Element Selector", "html", ["html"] );
t( "Parent Element", "div div", ["foo"] );
- t( "Object/Param element", "#object param", ["param1", "param2"] );
- ok( $("param", $("#object")[0]).length == 2, "Object/param as context" );
+ t( "Object/Param element", "#object1 param", ["param1", "param2"] );
+ ok( $("param", $("#object1")[0]).length == 2, "Object/param as context" );
});
test("expressions - id", function() {