From c416907cb7eb85e53c297d16bb9eb639fa4f6c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 8 Nov 2024 10:04:40 +0000 Subject: [PATCH] gofmt --- interp/interp_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interp/interp_test.go b/interp/interp_test.go index 6c9262f0..de7ca44c 100644 --- a/interp/interp_test.go +++ b/interp/interp_test.go @@ -400,10 +400,10 @@ var runTests = []runTest{ {`echo \\`, "\\\n"}, {`echo \\\\`, "\\\\\n"}, {`echo \`, "\n"}, - + // escape characters in double quote literal - {`echo "\\"`, "\\\n"}, // special character is preserved - {`echo "\b"`, "\\b\n"}, // non-special character has both characters preserved + {`echo "\\"`, "\\\n"}, // special character is preserved + {`echo "\b"`, "\\b\n"}, // non-special character has both characters preserved {`echo "\\\\"`, "\\\\\n"}, // sequential backslashes (escape characters repeated sequentially) // vars