Index: test/mjsunit/regress/regress-seqstrsetchar-ex3.js |
diff --git a/test/mjsunit/regress/regress-seqstrsetchar-ex3.js b/test/mjsunit/regress/regress-seqstrsetchar-ex3.js |
index 43d2b083526cbf88da567896c1fd9207b587dd6d..0a6b2116488f4f17cbf0f0feafa17a02613081cb 100644 |
--- a/test/mjsunit/regress/regress-seqstrsetchar-ex3.js |
+++ b/test/mjsunit/regress/regress-seqstrsetchar-ex3.js |
@@ -30,8 +30,8 @@ |
function test() { |
var string = %NewString(10, true); |
for (var i = 0; i < 10; i++) { |
- %_OneByteSeqStringSetChar(string, i, 65); |
- %_OneByteSeqStringSetChar(string, i, 66); |
+ %_OneByteSeqStringSetChar(i, 65, string); |
+ %_OneByteSeqStringSetChar(i, 66, string); |
} |
for (var i = 0; i < 10; i++) { |
assertEquals("B", string[i]); |