Index: test/debugger/debug/regress/regress-119609.js |
diff --git a/test/mjsunit/regress/regress-119609.js b/test/debugger/debug/regress/regress-119609.js |
similarity index 92% |
rename from test/mjsunit/regress/regress-119609.js |
rename to test/debugger/debug/regress/regress-119609.js |
index 99041adaf435cfd0a90f973404452e5fcf2fbfbf..b6da891fb01518a764216b706cd8743d9ccd82da 100644 |
--- a/test/mjsunit/regress/regress-119609.js |
+++ b/test/debugger/debug/regress/regress-119609.js |
@@ -25,7 +25,6 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --expose-debug-as debug |
Debug = debug.Debug; |
@@ -42,11 +41,7 @@ function listener(event, exec_state, event_data, data) { |
assertEquals(4, lookup("f")); |
assertEquals(1, lookup("a")); |
- try { |
- assertEquals(2, lookup("b")); |
- } catch (e) { |
- assertEquals("ReferenceError: b is not defined", e.toString()); |
- } |
+ assertThrows(() => lookup("b"), ReferenceError); |
} |
} catch (e) { |
exception = e.toString() + e.stack; |