test-parsing.cc: Test fix.
The syntax of this test snippet was so wrong ("function function") that it wasn't testing what it was supposed to test. R=rossberg@chromium.org BUG= Review URL: https://codereview.chromium.org/896043003 Cr-Commit-Position: refs/heads/master@{#26433}
This commit is contained in:
parent
3b400fcb9b
commit
39010859f8
@ -2246,8 +2246,8 @@ TEST(ErrorsNameOfStrictFunction) {
|
||||
"interface() {\"use strict\";}",
|
||||
"yield() {\"use strict\";}",
|
||||
// Future reserved words are always illegal
|
||||
"function super() { }",
|
||||
"function super() {\"use strict\";}",
|
||||
"super() { }",
|
||||
"super() {\"use strict\";}",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user