Index: test/mjsunit/number-string-index-call.js |
diff --git a/test/mjsunit/number-string-index-call.js b/test/mjsunit/number-string-index-call.js |
index 4391917c20f08b0a874e0fa8783f50f436d9e4be..85b79d1ca29b74fb15ea0f0597fc187ca3bac243 100644 |
--- a/test/mjsunit/number-string-index-call.js |
+++ b/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/ ]; |
+var callbacks = [ function() {return 'foo'}, "nonobject", /abc/ ]; |
assertEquals('foo', callbacks['0']()); |
assertThrows("callbacks['1']()"); |
-assertEquals(['abc'], callbacks['2']("abcdefg")); |
+assertThrows("callbacks['2']('abcdefg')"); |