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:
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) == ""hello world!"");
-
- 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) == "hello world!");
+
+ 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) == "<hello & 'world'!>");
};
// Formats output as HTML