summaryrefslogtreecommitdiff
path: root/lib/escfmt/test/escsh.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/escfmt/test/escsh.myr')
-rw-r--r--lib/escfmt/test/escsh.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/escfmt/test/escsh.myr b/lib/escfmt/test/escsh.myr
index 0071ec2..0be0629 100644
--- a/lib/escfmt/test/escsh.myr
+++ b/lib/escfmt/test/escsh.myr
@@ -6,22 +6,22 @@ const main = {
testr.run([
[.name="basic", .fn={ctx
var s = std.fmt("{}", escfmt.sh("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.sh("two words"))
- testr.check(ctx, std.sleq("'two words'", s), "mismatched escape")
+ testr.check(ctx, std.eq("'two words'", s), "mismatched escape")
std.slfree(s)
}],
[.name="simplequote", .fn={ctx
var s = std.fmt("{}", escfmt.sh("two'words"))
- testr.check(ctx, std.sleq("'two'\\''words'", s), "mismatched escape")
+ testr.check(ctx, std.eq("'two'\\''words'", s), "mismatched escape")
std.slfree(s)
}],
[.name="quotequote", .fn={ctx
var s = std.fmt("{}", escfmt.sh("two'\\''words"))
- testr.check(ctx, std.sleq("'two'\\''\\'\\'''\\''words'", s), "mismatched escape")
+ testr.check(ctx, std.eq("'two'\\''\\'\\'''\\''words'", s), "mismatched escape")
std.slfree(s)
}]
][:])