diff options
author | mihaylov <mihaylov@epfl.ch> | 2004-10-07 12:31:55 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2004-10-07 12:31:55 +0000 |
commit | 8ae023e8761e7af74c00c9cb33a20f1006defddc (patch) | |
tree | c69f5c36a8e7b7b82c6c5d1f5aa553c331ba9ac8 /test | |
parent | 7f63832946fdea0fedeb23b8c725583a70040c6f (diff) | |
download | scala-8ae023e8761e7af74c00c9cb33a20f1006defddc.tar.gz scala-8ae023e8761e7af74c00c9cb33a20f1006defddc.tar.bz2 scala-8ae023e8761e7af74c00c9cb33a20f1006defddc.zip |
[MSIL] Use toString instead of String.valueOf()...
[MSIL] Use toString instead of String.valueOf() to make it compile for
.NET
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/arrays.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/arrays.scala b/test/files/run/arrays.scala index 176c3dcc13..637b69d647 100644 --- a/test/files/run/arrays.scala +++ b/test/files/run/arrays.scala @@ -108,8 +108,8 @@ object Test { if (!test0 || !test1) { val s0 = if (test0) "ok" else "KO"; val s1 = if (test1) "ok" else "KO"; - val s2 = String.valueOf(actual); - val s3 = String.valueOf(expected); + val s2 = actual.toString(); + val s3 = expected.toString(); throw new Error(s0 + " - " + s1 + ": " + s2 + " != " + s3); } checks = checks + 1; |