@@ -199,25 +199,3 @@ QUnit[ jQuery.proxy ? "test" : "skip" ]( "jQuery.proxy", function( assert ) {
199
199
cb = jQuery . proxy ( fn , null , "arg1" , "arg2" ) ;
200
200
cb . call ( thisObject , "arg3" ) ;
201
201
} ) ;
202
-
203
- QUnit [ jQuery . trim ? "test" : "skip" ] ( "trim" , function ( assert ) {
204
- assert . expect ( 13 ) ;
205
-
206
- var nbsp = String . fromCharCode ( 160 ) ;
207
-
208
- assert . equal ( jQuery . trim ( "hello " ) , "hello" , "trailing space" ) ;
209
- assert . equal ( jQuery . trim ( " hello" ) , "hello" , "leading space" ) ;
210
- assert . equal ( jQuery . trim ( " hello " ) , "hello" , "space on both sides" ) ;
211
- assert . equal ( jQuery . trim ( " " + nbsp + "hello " + nbsp + " " ) , "hello" , " " ) ;
212
-
213
- assert . equal ( jQuery . trim ( ) , "" , "Nothing in." ) ;
214
- assert . equal ( jQuery . trim ( undefined ) , "" , "Undefined" ) ;
215
- assert . equal ( jQuery . trim ( null ) , "" , "Null" ) ;
216
- assert . equal ( jQuery . trim ( 5 ) , "5" , "Number" ) ;
217
- assert . equal ( jQuery . trim ( false ) , "false" , "Boolean" ) ;
218
-
219
- assert . equal ( jQuery . trim ( " " ) , "" , "space should be trimmed" ) ;
220
- assert . equal ( jQuery . trim ( "ipad\xA0" ) , "ipad" , "nbsp should be trimmed" ) ;
221
- assert . equal ( jQuery . trim ( "\uFEFF" ) , "" , "zwsp should be trimmed" ) ;
222
- assert . equal ( jQuery . trim ( "\uFEFF \xA0! | \uFEFF" ) , "! |" , "leading/trailing should be trimmed" ) ;
223
- } ) ;
0 commit comments