hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit d99b51034fe1772b22f39c7522a02c2210c3c789
parent db5c7fb4b62369747a677cf00b4aa0b50161e6e3
Author: Sebastian LaVine <mail@smlavine.com>
Date:   Wed, 28 Sep 2022 00:16:41 -0400

Fix indentation

Signed-off-by: Sebastian LaVine <mail@smlavine.com>

Diffstat:
Mcmd/haredoc/html.ha | 28++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/cmd/haredoc/html.ha b/cmd/haredoc/html.ha @@ -52,20 +52,20 @@ fn html_escape(out: io::handle, in: str) (size | io::error) = { }; @test fn html_escape() void = { - let sink = strio::dynamic(); - defer io::close(&sink)!; - html_escape(&sink, "hello world!")!; - assert(strio::string(&sink) == "hello world!"); - - let sink = strio::dynamic(); - defer io::close(&sink)!; - html_escape(&sink, "\"hello world!\"")!; - assert(strio::string(&sink) == "&quot;hello world!&quot;"); - - let sink = strio::dynamic(); - defer io::close(&sink)!; - html_escape(&sink, "<hello & 'world'!>")!; - assert(strio::string(&sink) == "&lt;hello &amp; &apos;world&apos;!&gt;"); + let sink = strio::dynamic(); + defer io::close(&sink)!; + html_escape(&sink, "hello world!")!; + assert(strio::string(&sink) == "hello world!"); + + let sink = strio::dynamic(); + defer io::close(&sink)!; + html_escape(&sink, "\"hello world!\"")!; + assert(strio::string(&sink) == "&quot;hello world!&quot;"); + + let sink = strio::dynamic(); + defer io::close(&sink)!; + html_escape(&sink, "<hello & 'world'!>")!; + assert(strio::string(&sink) == "&lt;hello &amp; &apos;world&apos;!&gt;"); }; // Formats output as HTML