r8413: mark exprbug() as fixed, and add a new bug
authorAndrew Tridgell <tridge@samba.org>
Wed, 13 Jul 2005 05:32:41 +0000 (05:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:22:59 +0000 (13:22 -0500)
(This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626)

testprogs/ejs/bugs.js

index 3c8a4daab341156a95cb439318472f8d19b74a82..4d66a475df4fb5b2667889cf81556498cbf66d67 100644 (file)
@@ -73,7 +73,7 @@ function objbug() {
 
 /*
  demo a expression handling bug
- status: SUBMITTED
+ status: FIXED
 */
 function exprbug() {
        var a = new Array(10);
@@ -118,10 +118,21 @@ function fnbug(c)
        assert(s == "testing");
 }
 
+/****************************************
+demo incorrect handling of reserved words in strings
+status: SUBMITTED
+*****************************************/
+function reservedbug()
+{
+       assert("funct" + "ion" == 'function');
+}
+
+
 /* run the tests */
 arraybug();
 argsbug("one", "two", "three");
 recursebug();
 exprbug();
 fnbug(callback);
+reservedbug();
 objbug();