summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/exceptions.scala')
-rw-r--r--test/files/run/exceptions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/exceptions.scala b/test/files/run/exceptions.scala
index 82740cc74d..37516737a2 100644
--- a/test/files/run/exceptions.scala
+++ b/test/files/run/exceptions.scala
@@ -33,7 +33,7 @@ object exceptions {
val value = try {
map.lookup(key)
} catch {
- case e => compat.Platform.getMessage(e)
+ case e => e.getMessage()
}
check("lookup(" + key + ")", value, "KO");
}