Changeset 4448
- Timestamp:
- 01/14/08 20:17:21 (7 months ago)
- Files:
-
- 1 modified
-
trunk/jquery/test/unit/core.js (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/test/unit/core.js
r4447 r4448 218 218 }); 219 219 220 if ( !isLocal ) { 220 221 test("$(selector, xml).text(str) - Loaded via XML document", function() { 221 222 expect(2); … … 229 230 }); 230 231 }); 232 } 231 233 232 234 test("length", function() { … … 951 953 952 954 test("clone()", function() { 953 expect( 6);955 expect(4); 954 956 ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' ); 955 957 var clone = $('#yahoo').clone(); … … 959 961 var cl = $("#nonnodes").contents().clone(); 960 962 ok( cl.length >= 2, "Check node,textnode,comment clone works (some browsers delete comments on clone)" ); 961 963 }); 964 965 if (!isLocal) { 966 test("clone() on XML nodes", function() { 967 expect(2); 962 968 stop(); 963 969 $.get("data/dashboard.xml", function (xml) { … … 970 976 }); 971 977 }); 978 } 972 979 973 980 test("is(String)", function() {