зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1203963 - Part 1: Call test_syntax in syntax-error-illegal-character.js. r=Waldo
--HG-- rename : js/src/jit-test/tests/basic/syntax-error-illegal-character.js => js/src/jit-test/tests/parser/syntax-error-illegal-character.js extra : rebase_source : f9f3f2a07e2a60c4a5cc792489d6afb0d31afc71
This commit is contained in:
Родитель
887023599b
Коммит
32ed91fff3
|
@ -1 +0,0 @@
|
|||
// |jit-test| test-also-noasmjs
|
|
@ -10,3 +10,5 @@ function check_syntax_error(e, code, name) {
|
|||
assertEq(e instanceof SyntaxError, true, name + ": " + code);
|
||||
assertEq(e.message, JSMSG_ILLEGAL_CHARACTER, name + ": " + code);
|
||||
}
|
||||
|
||||
test_syntax(repl_expr_flags, check_syntax_error, false);
|
Загрузка…
Ссылка в новой задаче