Commit 6751f043 authored by dslomov's avatar dslomov Committed by Commit bot

Fix messages tests.

Change tests so that message location is stable under --debug-code.

R=yangguo@chromium.org
BUG=v8:3744
LOG=N

Review URL: https://codereview.chromium.org/792563003

Cr-Commit-Position: refs/heads/master@{#25732}
parent 19418d76
......@@ -30,9 +30,4 @@
# All tests in the bug directory are expected to fail.
'bugs/*': [FAIL],
}], # ALWAYS
['no_snap == True', {
# BUG(3744)
'super-constructor': [PASS,FAIL],
'super-constructor-extra-statement': [PASS,FAIL],
}],
]
......@@ -12,4 +12,4 @@ class C {
}
}
new C();
var c = new C();
......@@ -5,4 +5,4 @@
var x;
TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported.
at *%(basename)s:15:1
at *%(basename)s:15:9
......@@ -11,4 +11,4 @@ class C {
}
}
new C();
var c = new C();
......@@ -5,4 +5,4 @@
super(this.x);
TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported.
at *%(basename)s:14:1
at *%(basename)s:14:9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment