Index: test/debugger/debug/es6/debug-evaluate-receiver-before-super.js |
diff --git a/test/mjsunit/es6/debug-evaluate-receiver-before-super.js b/test/debugger/debug/es6/debug-evaluate-receiver-before-super.js |
similarity index 88% |
rename from test/mjsunit/es6/debug-evaluate-receiver-before-super.js |
rename to test/debugger/debug/es6/debug-evaluate-receiver-before-super.js |
index dc8ce2cacd5fb4aaaee0fd9e73bf634375ae80b8..8fa8645bafd445bbddfe9223dfc3f764caef3686 100644 |
--- a/test/mjsunit/es6/debug-evaluate-receiver-before-super.js |
+++ b/test/debugger/debug/es6/debug-evaluate-receiver-before-super.js |
@@ -2,7 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --expose-debug-as debug |
// Test that debug-evaluate doesn't crash when this is used before super() call |
// in constructor. |
@@ -28,7 +27,7 @@ class A { constructor () { this.a = 239; } } |
class B extends A { |
constructor () { |
debugger; |
- assertEquals("Cannot read property 'a' of undefined", result); |
+ assertTrue(result.indexOf("Cannot read property 'a' of undefined") >= 0); |
super(); |
debugger; |
assertEquals(239, result); |