Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Nov 8, 2024
1 parent edb5bbc commit c416907
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interp/interp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c416907

Please sign in to comment.