Index: test/mjsunit/harmony/regexp-change-exec.js |
diff --git a/test/mjsunit/harmony/regexp-change-exec.js b/test/mjsunit/harmony/regexp-change-exec.js |
index 4c9757e3d50094d116123e8d14855775b497e679..ff84506d894ba9a4cb6e9b3127812a9e74642f93 100644 |
--- a/test/mjsunit/harmony/regexp-change-exec.js |
+++ b/test/mjsunit/harmony/regexp-change-exec.js |
@@ -2,8 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --harmony-regexp-exec |
- |
class MyError extends Error { } |
RegExp.prototype.exec = () => { throw new MyError() }; |
assertThrows(() => "foo".match(/bar/), MyError); |