aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-04-05 17:27:09 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-05 17:27:09 +0200
commit18d0ae5e08e66c90377ca6818b9d6f1af7f259ac (patch)
tree8c40ee309a80f75c692bee4d8b1f7ac49c191283 /tests
parent92018967be69ffe660a225f0b58f9772388678fe (diff)
downloaddotty-18d0ae5e08e66c90377ca6818b9d6f1af7f259ac.tar.gz
dotty-18d0ae5e08e66c90377ca6818b9d6f1af7f259ac.tar.bz2
dotty-18d0ae5e08e66c90377ca6818b9d6f1af7f259ac.zip
Another test fixed
Diffstat (limited to 'tests')
-rw-r--r--tests/run/enum-Color.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/enum-Color.scala b/tests/run/enum-Color.scala
index 836e02c62..683d18d9e 100644
--- a/tests/run/enum-Color.scala
+++ b/tests/run/enum-Color.scala
@@ -6,6 +6,6 @@ object Test {
def main(args: Array[String]) =
for (color <- Color.enumValues) {
println(s"$color: ${color.enumTag}")
- assert(Color.valueOf(color.enumTag) eq color)
+ assert(Color.enumValue(color.enumTag) eq color)
}
}