summaryrefslogtreecommitdiffstats
path: root/testprogs/ejs/bugs.js
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/ejs/bugs.js')
-rw-r--r--testprogs/ejs/bugs.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/testprogs/ejs/bugs.js b/testprogs/ejs/bugs.js
index 3c8a4daab34..4d66a475df4 100644
--- a/testprogs/ejs/bugs.js
+++ b/testprogs/ejs/bugs.js
@@ -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();