Skip to content

Commit 18d0ae5

Browse files
committed
Another test fixed
1 parent 9201896 commit 18d0ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run/enum-Color.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ object Test {
66
def main(args: Array[String]) =
77
for (color <- Color.enumValues) {
88
println(s"$color: ${color.enumTag}")
9-
assert(Color.valueOf(color.enumTag) eq color)
9+
assert(Color.enumValue(color.enumTag) eq color)
1010
}
1111
}

0 commit comments

Comments
 (0)