summaryrefslogtreecommitdiff
path: root/lib/escfmt/test/eschtml.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/escfmt/test/eschtml.myr')
-rw-r--r--lib/escfmt/test/eschtml.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/escfmt/test/eschtml.myr b/lib/escfmt/test/eschtml.myr
index c3911db..fd58638 100644
--- a/lib/escfmt/test/eschtml.myr
+++ b/lib/escfmt/test/eschtml.myr
@@ -6,22 +6,22 @@ const main = {
testr.run([\
[.name="nop", .fn={ctx
var s = std.fmt("{}", escfmt.html("word"))
- testr.check(ctx, std.sleq("word", s), "mismatched escape")
+ testr.check(ctx, std.eq("word", s), "mismatched escape")
std.slfree(s)
}],
[.name="twowords", .fn={ctx
var s = std.fmt("{}", escfmt.html("spaced word"))
- testr.check(ctx, std.sleq("spaced word", s), "mismatched escape")
+ testr.check(ctx, std.eq("spaced word", s), "mismatched escape")
std.slfree(s)
}],
[.name="quoted", .fn={ctx
var s = std.fmt("{}", escfmt.html("<stuff>&nbsp;</stuff>"))
- testr.check(ctx, std.sleq("&lt;stuff&gt;&amp;nbsp;&lt;&#x2f;stuff&gt;", s), std.fmt("mismatched escape {}", s))
+ testr.check(ctx, std.eq("&lt;stuff&gt;&amp;nbsp;&lt;&#x2f;stuff&gt;", s), std.fmt("mismatched escape {}", s))
std.slfree(s)
}],
[.name="doublequoted", .fn={ctx
var s = std.fmt("{}", escfmt.html("&lt;stuff&gt;&amp;nbsp;&lt;&#x2f;stuff&gt;"))
- testr.check(ctx, std.sleq("&amp;lt;stuff&amp;gt;&amp;amp;nbsp;&amp;lt;&amp;#x2f;stuff&amp;gt;", s), std.fmt("mismatched escape {}", s))
+ testr.check(ctx, std.eq("&amp;lt;stuff&amp;gt;&amp;amp;nbsp;&amp;lt;&amp;#x2f;stuff&amp;gt;", s), std.fmt("mismatched escape {}", s))
std.slfree(s)
}],
][:])