summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2004-12-02 16:26:18 +0000
committermihaylov <mihaylov@epfl.ch>2004-12-02 16:26:18 +0000
commitefe04a5215d60c20c36f87844b097ba126e57075 (patch)
treeab0a183192e205d9120e2a10c64a87663ddcf9b0 /test/files/run/exceptions.scala
parent9eb2d3fa77e582aca1098836633903fc7e53be81 (diff)
downloadscala-efe04a5215d60c20c36f87844b097ba126e57075.tar.gz
scala-efe04a5215d60c20c36f87844b097ba126e57075.tar.bz2
scala-efe04a5215d60c20c36f87844b097ba126e57075.zip
- Use scala.runtime.compat.Platform to make the...
- Use scala.runtime.compat.Platform to make the test case platform independant
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 3a4ce70ca3..1165308464 100644
--- a/test/files/run/exceptions.scala
+++ b/test/files/run/exceptions.scala
@@ -35,7 +35,7 @@ object exceptions {
val value = try {
map.lookup(key)
} catch {
- case e => e.getMessage()
+ case e => scala.runtime.compat.Platform.getMessage(e)
}
check("lookup(" + key + ")", value, "KO");
}