@@ -996,12 +996,12 @@ test("prependTo(String|Element|Array<Element>|jQuery)", function() {
996996
997997 reset ( ) ;
998998 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' ) ;
10001000 equals ( expected , jQuery ( '#sap' ) . text ( ) , "Check for prepending of array of elements" ) ;
10011001
10021002 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' ) ;
10051005 equals ( expected , jQuery ( '#sap' ) . text ( ) , "Check for prepending of jQuery object" ) ;
10061006
10071007 reset ( ) ;
@@ -1090,12 +1090,12 @@ test("insertAfter(String|Element|Array<Element>|jQuery)", function() {
10901090
10911091 reset ( ) ;
10921092 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' ) ;
10941094 equals ( expected , jQuery ( '#en' ) . text ( ) , "Insert array of elements after" ) ;
10951095
10961096 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' ) ;
10991099 equals ( expected , jQuery ( '#en' ) . text ( ) , "Insert jQuery after" ) ;
11001100} ) ;
11011101
0 commit comments