From: Jean Privat Date: Mon, 21 Sep 2015 19:36:44 +0000 (-0400) Subject: lib/core: fix nitunit that should have failed earlier because of bad == X-Git-Tag: v0.7.8~13^2 X-Git-Url: http://nitlanguage.org?hp=efebdc7305ace55f86a3eeaa731d02cd4ad8a89e lib/core: fix nitunit that should have failed earlier because of bad == Signed-off-by: Jean Privat --- diff --git a/lib/core/stream.nit b/lib/core/stream.nit index 4b1e826..799d130 100644 --- a/lib/core/stream.nit +++ b/lib/core/stream.nit @@ -275,7 +275,7 @@ abstract class Reader # ~~~ # var w = new StringReader(" Hello, \n\t World!") # assert w.read_word == "Hello," - # assert w.read_char == '\n'.ascii + # assert w.read_char == '\n' # assert w.read_word == "World!" # assert w.read_word == "" # ~~~