Index: test/mjsunit/arguments-enum.js |
diff --git a/test/mjsunit/arguments-enum.js b/test/mjsunit/arguments-enum.js |
index f76240ff1b4b23d923f68e18a3e8d6115df42706..3aee918af15803bfce3b21123df0301df647ad45 100644 |
--- a/test/mjsunit/arguments-enum.js |
+++ b/test/mjsunit/arguments-enum.js |
@@ -42,11 +42,11 @@ function setArgumentCount() { |
} |
assertEquals(0, countArguments()); |
-assertEquals(0, countArguments(1)); |
-assertEquals(0, countArguments(1, 2)); |
-assertEquals(0, countArguments(1, 2, 3, 4, 5)); |
+assertEquals(1, countArguments(1)); |
+assertEquals(2, countArguments(1, 2)); |
+assertEquals(5, countArguments(1, 2, 3, 4, 5)); |
-assertEquals(0, setArgumentCount()); |
-assertEquals(0, setArgumentCount(1)); |
-assertEquals(0, setArgumentCount(1, 2)); |
-assertEquals(0, setArgumentCount(1, 2, 3, 4, 5)); |
+assertEquals(2, setArgumentCount()); |
+assertEquals(3, setArgumentCount(1)); |
+assertEquals(4, setArgumentCount(1, 2)); |
+assertEquals(7, setArgumentCount(1, 2, 3, 4, 5)); |