summaryrefslogtreecommitdiff
path: root/lib/escfmt/test/escre.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/escfmt/test/escre.myr')
-rw-r--r--lib/escfmt/test/escre.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/escfmt/test/escre.myr b/lib/escfmt/test/escre.myr
index 6e7598c..0ded033 100644
--- a/lib/escfmt/test/escre.myr
+++ b/lib/escfmt/test/escre.myr
@@ -6,13 +6,13 @@ const main = {
testr.run([\
[.name="unchanged", .fn={ctx
var s = std.fmt("{}", escfmt.url("word"))
- testr.check(ctx, std.sleq("word", s), std.fmt("mismatched escape {}", s))
+ testr.check(ctx, std.eq("word", s), std.fmt("mismatched escape {}", s))
std.slfree(s)
}],
[.name="randomcrud", .fn={ctx
var s = std.fmt("{}", escfmt.re("^:/?#[]@!$&'()*+,;=%"))
testr.check(ctx, \
- std.sleq("\\^:/\\?#\\[\\]@!\\$&'\\(\\)\\*\\+,;=%", s), \
+ std.eq("\\^:/\\?#\\[\\]@!\\$&'\\(\\)\\*\\+,;=%", s), \
std.fmt("mismatched escape {}", s))
std.slfree(s)
}],