diff options
Diffstat (limited to 'test/files/run/richs.scala')
-rw-r--r-- | test/files/run/richs.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/richs.scala b/test/files/run/richs.scala index 526783318b..8b2775ea7b 100644 --- a/test/files/run/richs.scala +++ b/test/files/run/richs.scala @@ -8,7 +8,7 @@ trait RichTest { val s5 = """abc #xyz""" def getObjectName: String = { - val cn = this.getClass().getName() + val cn = compat.Platform.getClassName(this) cn.substring(0, cn.length-1) } def length[A](it: Iterator[A]) = it.toList length |