summaryrefslogtreecommitdiff
path: root/testprogs/ejs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-13 05:32:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:22:59 -0500
commit6fafd2f05579392a78a58c27d780786456bd2340 (patch)
tree43203c938777d3a9aaf943557c02a633ad9cc5f9 /testprogs/ejs
parent50ea5cb41904a22c8dde832b0a1b7173bcbf7b8d (diff)
downloadsamba-6fafd2f05579392a78a58c27d780786456bd2340.tar.gz
samba-6fafd2f05579392a78a58c27d780786456bd2340.tar.bz2
samba-6fafd2f05579392a78a58c27d780786456bd2340.zip
r8413: mark exprbug() as fixed, and add a new bug
(This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626)
Diffstat (limited to 'testprogs/ejs')
-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 3c8a4daab3..4d66a475df 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();