summaryrefslogtreecommitdiff
path: root/lib/escfmt/test/escurl.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/escfmt/test/escurl.myr')
-rw-r--r--lib/escfmt/test/escurl.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/escfmt/test/escurl.myr b/lib/escfmt/test/escurl.myr
index 9645754..33965f0 100644
--- a/lib/escfmt/test/escurl.myr
+++ b/lib/escfmt/test/escurl.myr
@@ -6,20 +6,20 @@ 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="allspecials", .fn={ctx
var s = std.fmt("{}", escfmt.url(":/?#[]@!$&'()*+,;=%"))
testr.check(ctx, \
- std.sleq("%3a%2f%3f%23%5b%5d%40%21%24%26%27%28%29%2a%2b%2c%3b%3d%25", s), \
+ std.eq("%3a%2f%3f%23%5b%5d%40%21%24%26%27%28%29%2a%2b%2c%3b%3d%25", s), \
std.fmt("mismatched escape {}", s))
std.slfree(s)
}],
[.name="unicodes", .fn={ctx
var s = std.fmt("{}", escfmt.url("᚛᚛ᚉᚑᚅᚔᚉᚉᚔ"))
testr.check(ctx, \
- std.sleq("%e1%9a%9b%e1%9a%9b%e1%9a%89%e1%9a%91%e1%9a%85%e1%9a%94%e1%9a%89%e1%9a%89%e1%9a%94", s), \
+ std.eq("%e1%9a%9b%e1%9a%9b%e1%9a%89%e1%9a%91%e1%9a%85%e1%9a%94%e1%9a%89%e1%9a%89%e1%9a%94", s), \
std.fmt("mismatched escape {}", s))
std.slfree(s)
}],