summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/number-string-index-call.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/number-string-index-call.js')
-rw-r--r--deps/v8/test/mjsunit/number-string-index-call.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/number-string-index-call.js b/deps/v8/test/mjsunit/number-string-index-call.js
index 6f540c008..85b79d1ca 100644
--- a/deps/v8/test/mjsunit/number-string-index-call.js
+++ b/deps/v8/test/mjsunit/number-string-index-call.js
@@ -25,8 +25,7 @@
// (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: --call_regexp
var callbacks = [ function() {return 'foo'}, "nonobject", /abc/ ];
assertEquals('foo', callbacks['0']());
assertThrows("callbacks['1']()");
-assertEquals('abc', callbacks['2']("abcdefg"));
+assertThrows("callbacks['2']('abcdefg')");