Home | History | Annotate | Download | only in webkit

Lines Matching defs:trimLeft

24 description("This test checks String.trim(), String.trimLeft() and String.trimRight() methods.");
26 //references to trim(), trimLeft() and trimRight() functions for testing Function's *.call() and *.apply() methods
28 var trimLeft = String.prototype.trimLeft;
64 shouldBe("whitespace["+i+"].s.trimLeft()", "''");
74 shouldBe("wsString.trimLeft()", "''");
78 shouldBe("trimString.trimLeft()", "leftTrimString");
82 shouldBe("leftTrimString.trimLeft()", "leftTrimString");
86 shouldBe("rightTrimString.trimLeft()", "testString");
92 shouldBe("trimLeft.call("+testValues[i]+")", "'"+eval(testValues[i])+"'");