diff options
author | mihaylov <mihaylov@epfl.ch> | 2004-12-02 16:26:18 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2004-12-02 16:26:18 +0000 |
commit | efe04a5215d60c20c36f87844b097ba126e57075 (patch) | |
tree | ab0a183192e205d9120e2a10c64a87663ddcf9b0 /test | |
parent | 9eb2d3fa77e582aca1098836633903fc7e53be81 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/exceptions.scala | 2 |
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"); } |