Lines Matching refs:trimLeft

24 This test checks String.trim(), String.trimLeft() and String.trimRight() methods.
30 PASS whitespace[0].s.trimLeft() is ''
33 PASS whitespace[1].s.trimLeft() is ''
36 PASS whitespace[2].s.trimLeft() is ''
39 PASS whitespace[3].s.trimLeft() is ''
42 PASS whitespace[4].s.trimLeft() is ''
45 PASS whitespace[5].s.trimLeft() is ''
48 PASS whitespace[6].s.trimLeft() is ''
51 PASS whitespace[7].s.trimLeft() is ''
54 PASS whitespace[8].s.trimLeft() is ''
57 PASS whitespace[9].s.trimLeft() is ''
60 PASS whitespace[10].s.trimLeft() is ''
63 PASS whitespace[11].s.trimLeft() is ''
66 PASS whitespace[12].s.trimLeft() is ''
69 PASS whitespace[13].s.trimLeft() is ''
72 PASS whitespace[14].s.trimLeft() is ''
75 PASS whitespace[15].s.trimLeft() is ''
78 PASS whitespace[16].s.trimLeft() is ''
81 PASS whitespace[17].s.trimLeft() is ''
84 PASS whitespace[18].s.trimLeft() is ''
87 PASS whitespace[19].s.trimLeft() is ''
90 PASS whitespace[20].s.trimLeft() is ''
93 FAIL whitespace[21].s.trimLeft() should be . Was ​.
96 FAIL wsString.trimLeft() should be . Was ​.
103 FAIL trimString.trimLeft() should be foo bar
118 PASS leftTrimString.trimLeft() is leftTrimString
123 FAIL rightTrimString.trimLeft() should be foo bar. Was ​foo bar.
126 PASS trimLeft.call(0) is '0'
129 PASS trimLeft.call(Infinity) is 'Infinity'
132 PASS trimLeft.call(NaN) is 'NaN'
135 PASS trimLeft.call(true) is 'true'
138 PASS trimLeft.call(false) is 'false'
141 PASS trimLeft.call(({})) is '[object Object]'
144 PASS trimLeft.call(({toString:function(){return 'wibble'}})) is 'wibble'
147 PASS trimLeft.call(['an','array']) is 'an,array'