summaryrefslogtreecommitdiff
path: root/test/files/run/classof.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/classof.scala')
-rw-r--r--test/files/run/classof.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/classof.scala b/test/files/run/classof.scala
index c2c76b344e..3b6180396c 100644
--- a/test/files/run/classof.scala
+++ b/test/files/run/classof.scala
@@ -2,7 +2,7 @@ class SomeClass
object Test {
def main(args: Array[String]): Unit = {
- val cls:Class = classOf[SomeClass]
- Console.println(cls.getName)
+ val cls: Class = classOf[SomeClass]
+ Console.println(compat.Platform.getName(cls))
}
}