Index: test/webkit/fast/js/kde/evil-n.js |
diff --git a/test/webkit/codegen-jless.js b/test/webkit/fast/js/kde/evil-n.js |
similarity index 90% |
copy from test/webkit/codegen-jless.js |
copy to test/webkit/fast/js/kde/evil-n.js |
index ba8ba6fad07dc6fef9235aaa74b58c66c4c51cc2..b9b5cdb3764752c9746689e91f8891ef2bd24d9a 100644 |
--- a/test/webkit/codegen-jless.js |
+++ b/test/webkit/fast/js/kde/evil-n.js |
@@ -21,8 +21,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-description( |
-"Tests particular unusual cases of jump-if-less codegen." |
-); |
+description("KDE JS Test"); |
+shouldBe("(new Error()).message", "''"); |
-shouldBe("!(true && undefined > 0) ? 'true' : 'false'", "'true'"); |
+// the empty match isn't taken in account |
+shouldBe("''.split(/.*/).length", "0"); |