Bug 1434429 - Another followup test-fix. r=red

This commit is contained in:
Jeff Walden 2018-02-02 23:59:24 -08:00
Родитель 599951fe17
Коммит ca820b5e0b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -19,14 +19,14 @@ function test()
printBugNumber(BUGNUMBER);
printStatus (summary);
expect = 'SyntaxError: unterminated string literal';
expect = 'SyntaxError';
try
{
eval('new Function("setter/*\n");');
}
catch(ex)
{
actual = ex + '';
actual = ex.constructor.name;
}
reportCompare(expect, actual, 'new Function("setter/*\n");');
@ -36,7 +36,7 @@ function test()
}
catch(ex)
{
actual = ex + '';
actual = ex.constructor.name;
}
reportCompare(expect, actual, 'new Function("setter/*\n*/");');
}