Skip to content
Permalink
Browse files

Simplified the XML selector test (save the result).

  • Loading branch information
jeresig committed Jan 5, 2009
1 parent f796ad1 commit c6de039bb1568d8e6162b8152b8208eff1af282d
Showing with 4 additions and 3 deletions.
  1. +4 −3 test/unit/core.js
@@ -291,9 +291,10 @@ test("jQuery(selector, xml).text(str) - Loaded via XML document", function() {
stop();
jQuery.get('data/dashboard.xml', function(xml) {
// tests for #1419 where IE was a problem
equals( jQuery("tab:first", xml).text(), "blabla", "Verify initial text correct" );
jQuery("tab:first", xml).text("newtext");
equals( jQuery("tab:first", xml).text(), "newtext", "Verify new text correct" );
var tab = jQuery("tab", xml).eq(0);
equals( tab.text(), "blabla", "Verify initial text correct" );
tab.text("newtext");
equals( tab.text(), "newtext", "Verify new text correct" );
start();
});
});

0 comments on commit c6de039

Please sign in to comment.
You can’t perform that action at this time.