aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-11-30 14:22:19 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-11-30 16:55:59 +0100
commitc619f762b966bc0d2f4de30b001eb7df76c5a347 (patch)
tree8258af5c128add6f29d3a46f689a44f8038a42bf /library
parent5c607cd402001b57721afef8153d9bec5e68c933 (diff)
downloaddotty-c619f762b966bc0d2f4de30b001eb7df76c5a347.tar.gz
dotty-c619f762b966bc0d2f4de30b001eb7df76c5a347.tar.bz2
dotty-c619f762b966bc0d2f4de30b001eb7df76c5a347.zip
Fix `Option[Nothing]` show
Diffstat (limited to 'library')
-rw-r--r--library/test/dotty/ShowTests.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/test/dotty/ShowTests.scala b/library/test/dotty/ShowTests.scala
index ef259e5d8..92539d0c4 100644
--- a/library/test/dotty/ShowTests.scala
+++ b/library/test/dotty/ShowTests.scala
@@ -52,8 +52,7 @@ class ShowTests {
@Test def showOptions = {
import Show.Option._
- // TODO: first case is not possible since there's no Show[Nothing] - yet
- //assertEquals("None", None.show)
+ assertEquals("None", None.show)
assertEquals("None", (None: Option[String]).show)
assertEquals("Some(\"hello opt\")", Some("hello opt").show)
}