mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
enable gofumpt formatter
Based on our discussion gofumpt won the vote so use that one via golangci-lint. https://github.com/containers/podman/discussions/27291 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -72,8 +72,10 @@ func TestCUnescapeOne(t *testing.T) {
|
||||
|
||||
func TestExtractFirstWordUnescapes(t *testing.T) {
|
||||
input := `\a \b \f \n \r \t \v \\ \" \' \s \x50odman is \U0001F51F/\u0031\u0030 \110ello \127orld`
|
||||
expected := []string{"\a", "\b", "\f", "\n", "\r", "\t", "\v", "\\", "\"", "'", " ",
|
||||
"Podman", "is", "🔟/10", "Hello", "World"}
|
||||
expected := []string{
|
||||
"\a", "\b", "\f", "\n", "\r", "\t", "\v", "\\", "\"", "'", " ",
|
||||
"Podman", "is", "🔟/10", "Hello", "World",
|
||||
}
|
||||
|
||||
next := input
|
||||
for i := range expected {
|
||||
|
||||
Reference in New Issue
Block a user