[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    tests/khtmltests/regression/tests/js
From:       Harri Porten <porten () kde ! org>
Date:       2007-04-03 20:48:12
Message-ID: 1175633292.410330.14681.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 650101 by porten:

test for bug #142647


 M  +1 -0      RegExp.js  


--- trunk/tests/khtmltests/regression/tests/js/RegExp.js #650100:650101
@@ -54,6 +54,7 @@
 shouldBe("'abcdefghi'.match(/(abc)def(ghi)/).toString()","'abcdefghi,abc,ghi'");
 shouldBe("/(abc)def(ghi)/.exec('abcdefghi').toString()","'abcdefghi,abc,ghi'");
 shouldBe("RegExp.$1","'abc'");
+shouldBe("with(RegExp) { $1 }","'abc'");
 shouldBe("RegExp.$2","'ghi'");
 shouldBe("RegExp.$3","''");
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic