From 8ae023e8761e7af74c00c9cb33a20f1006defddc Mon Sep 17 00:00:00 2001 From: mihaylov Date: Thu, 7 Oct 2004 12:31:55 +0000 Subject: [MSIL] Use toString instead of String.valueOf()... [MSIL] Use toString instead of String.valueOf() to make it compile for .NET --- test/files/run/arrays.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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; -- cgit v1.2.3