From 2a1558f7416d79e254dbb2b1a93032a529d22bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dorian=20P=C3=A9ron?= Date: Mon, 22 Jul 2024 15:52:51 +0200 Subject: [PATCH] test(quoting_style): Fix tests --- src/uucore/src/lib/features/quoting_style.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uucore/src/lib/features/quoting_style.rs b/src/uucore/src/lib/features/quoting_style.rs index 55d8c9cb3..1efa6f746 100644 --- a/src/uucore/src/lib/features/quoting_style.rs +++ b/src/uucore/src/lib/features/quoting_style.rs @@ -611,8 +611,8 @@ mod tests { ("one\ntwo", "literal-show"), ("one\\ntwo", "escape"), ("\"one\\ntwo\"", "c"), - ("one?two", "shell"), - ("one\ntwo", "shell-show"), + ("'one?two'", "shell"), + ("'one\ntwo'", "shell-show"), ("'one?two'", "shell-always"), ("'one\ntwo'", "shell-always-show"), ("'one'$'\\n''two'", "shell-escape"), @@ -655,9 +655,9 @@ mod tests { "\"\\000\\001\\002\\003\\004\\005\\006\\a\\b\\t\\n\\v\\f\\r\\016\\017\"", "c", ), - ("????????????????", "shell"), + ("'????????????????'", "shell"), ( - "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F", + "'\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F'", "shell-show", ), ("'????????????????'", "shell-always"),