Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: mozilla-tests/ecma_3/RegExp/regress-224676.js

Issue 2865028: Update the mozilla tests to new version (as of 2010-06-29). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mozilla-tests/ecma_3/RegExp/15.10.4.1-6.js ('k') | mozilla-tests/ecma_3/RegExp/regress-375651.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mozilla-tests/ecma_3/RegExp/regress-224676.js
===================================================================
--- mozilla-tests/ecma_3/RegExp/regress-224676.js (revision 43940)
+++ mozilla-tests/ecma_3/RegExp/regress-224676.js (working copy)
@@ -195,34 +195,28 @@
addThis();
-string = 'hallo\";'
- status = inSection(22);
+string = 'hallo\";';
+status = inSection(22);
pattern = /^((\\[^\x00-\x1f]|[^\x00-\x1f"\\])*)"/;
- actualmatch = string.match(pattern);
- expectedmatch = Array('hallo"', 'hallo', 'o');
- addThis();
+actualmatch = string.match(pattern);
+expectedmatch = Array('hallo"', 'hallo', 'o');
+addThis();
+//----------------------------------------------------------------------------
+test();
+//----------------------------------------------------------------------------
+function addThis()
+{
+ statusmessages[i] = status;
+ patterns[i] = pattern;
+ strings[i] = string;
+ actualmatches[i] = actualmatch;
+ expectedmatches[i] = expectedmatch;
+ i++;
+}
-
-//-------------------------------------------------------------------------------------------------
- test();
-//-------------------------------------------------------------------------------------------------
-
-
-
- function addThis()
- {
- statusmessages[i] = status;
- patterns[i] = pattern;
- strings[i] = string;
- actualmatches[i] = actualmatch;
- expectedmatches[i] = expectedmatch;
- i++;
- }
-
-
- function test()
+function test()
{
enterFunc ('test');
printBugNumber(BUGNUMBER);
« no previous file with comments | « mozilla-tests/ecma_3/RegExp/15.10.4.1-6.js ('k') | mozilla-tests/ecma_3/RegExp/regress-375651.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698