- expect(5);\r
- isSet( jQuery("#ap a").slice(1,2), q("groups"), "slice(1,2)" );\r
- isSet( jQuery("#ap a").slice(1), q("groups", "anchor1", "mark"), "slice(1)" );\r
- isSet( jQuery("#ap a").slice(0,3), q("google", "groups", "anchor1"), "slice(0,3)" );\r
- isSet( jQuery("#ap a").slice(-1), q("mark"), "slice(-1)" );\r
+ expect(6);\r
+ \r
+ var $links = jQuery("#ap a");\r
+ \r
+ isSet( $links.slice(1,2), q("groups"), "slice(1,2)" );\r
+ isSet( $links.slice(1), q("groups", "anchor1", "mark"), "slice(1)" );\r
+ isSet( $links.slice(0,3), q("google", "groups", "anchor1"), "slice(0,3)" );\r
+ isSet( $links.slice(-1), q("mark"), "slice(-1)" );\r