js/src/tests/ecma_5/RegExp/15.10.5-01.js

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 /*
     2  * Any copyright is dedicated to the Public Domain.
     3  * http://creativecommons.org/licenses/publicdomain/
     4  */
     6 var BUGNUMBER = 614603;
     7 var summary = "RegExp.length";
     9 print(BUGNUMBER + ": " + summary);
    11 /**************
    12  * BEGIN TEST *
    13  **************/
    15 assertEq(RegExp.length, 2);
    16 assertEq(/a/.constructor.length, 2);
    18 if (typeof reportCompare === "function")
    19   reportCompare(true, true);
    21 print("All tests passed!");

mercurial