js/src/jit-test/tests/basic/testBug579647.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 expected = "TypeError: a is not a function";
     2 actual = "";
     4 try {
     5     a = ""
     6     for each(x in [0, 0, 0, 0]) {
     7         a %= x
     8     } ( let (a=-a) a)()
     9 } catch (e) {
    10     actual = '' + e;
    11 }
    13 assertEq(actual, expected);

mercurial