@@ -996,12 +996,12 @@ test("prependTo(String|Element|Array<Element>|jQuery)", function() {
996
996
997
997
reset ( ) ;
998
998
expected = "Try them out:YahooThis link has class=\"blog\": Simon Willison's Weblog" ;
999
- jQuery ( [ document . getElementById ( 'yahoo ' ) , document . getElementById ( 'first ' ) ] ) . prependTo ( '#sap' ) ;
999
+ jQuery ( [ document . getElementById ( 'first ' ) , document . getElementById ( 'yahoo ' ) ] ) . prependTo ( '#sap' ) ;
1000
1000
equals ( expected , jQuery ( '#sap' ) . text ( ) , "Check for prepending of array of elements" ) ;
1001
1001
1002
1002
reset ( ) ;
1003
- expected = "Try them out:YahooThis link has class=\"blog\": Simon Willison's Weblog" ;
1004
- jQuery ( "#yahoo , #first " ) . prependTo ( '#sap' ) ;
1003
+ expected = "YahooTry them out:This link has class=\"blog\": Simon Willison's Weblog" ;
1004
+ jQuery ( "#first , #yahoo " ) . prependTo ( '#sap' ) ;
1005
1005
equals ( expected , jQuery ( '#sap' ) . text ( ) , "Check for prepending of jQuery object" ) ;
1006
1006
1007
1007
reset ( ) ;
@@ -1090,12 +1090,12 @@ test("insertAfter(String|Element|Array<Element>|jQuery)", function() {
1090
1090
1091
1091
reset ( ) ;
1092
1092
expected = "This is a normal link: YahooTry them out:diveintomark" ;
1093
- jQuery ( [ document . getElementById ( 'mark ' ) , document . getElementById ( 'first ' ) ] ) . insertAfter ( '#yahoo' ) ;
1093
+ jQuery ( [ document . getElementById ( 'first ' ) , document . getElementById ( 'mark ' ) ] ) . insertAfter ( '#yahoo' ) ;
1094
1094
equals ( expected , jQuery ( '#en' ) . text ( ) , "Insert array of elements after" ) ;
1095
1095
1096
1096
reset ( ) ;
1097
- expected = "This is a normal link: YahooTry them out:diveintomark " ;
1098
- jQuery ( "#mark , #first " ) . insertAfter ( '#yahoo' ) ;
1097
+ expected = "This is a normal link: YahoodiveintomarkTry them out:" ;
1098
+ jQuery ( "#first , #mark " ) . insertAfter ( '#yahoo' ) ;
1099
1099
equals ( expected , jQuery ( '#en' ) . text ( ) , "Insert jQuery after" ) ;
1100
1100
} ) ;
1101
1101
0 commit comments