lib/core/text: fix unrecognized doc units
authorAlexandre Terrasa <alexandre@moz-code.org>
Tue, 29 May 2018 20:26:38 +0000 (16:26 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 30 May 2018 15:14:22 +0000 (11:14 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/core/text/abstract_text.nit

index 4470231..435b4b8 100644 (file)
@@ -530,6 +530,8 @@ abstract class Text
        # * Never ends with an underscore.
        # * Never contains two contiguous underscores.
        #
+       # Examples:
+       #
        #     assert "42_is/The answer!".to_cmangle == "_52d2_is_47dThe_32danswer_33d"
        #     assert "__".to_cmangle == "_95d_95d"
        #     assert "__d".to_cmangle == "_95d_d"
@@ -969,7 +971,7 @@ abstract class Text
 
        # Escape string used in labels for graphviz
        #
-       #   assert ">><<".escape_to_dot == "\\>\\>\\<\\<"
+       #     assert ">><<".escape_to_dot == "\\>\\>\\<\\<"
        fun escape_to_dot: String
        do
                return escape_more_to_c("|\{\}<>")