mirror of
https://github.com/rancher/os.git
synced 2025-09-06 09:14:31 +00:00
Upgrade golang compiler to latest; go fmt files.
This commit is contained in:
committed by
Olli Janatuinen
parent
6cde287f87
commit
af08844a9a
@@ -20,10 +20,10 @@ import (
|
||||
|
||||
func TestFormatConfigs(t *testing.T) {
|
||||
for in, n := range map[string]int{
|
||||
"": 0,
|
||||
"line1\\\nis long": 1,
|
||||
"#comment": 0,
|
||||
"#comment\\\ncomment": 0,
|
||||
"": 0,
|
||||
"line1\\\nis long": 1,
|
||||
"#comment": 0,
|
||||
"#comment\\\ncomment": 0,
|
||||
" #comment \\\n comment\nline 1\nline 2\\\n is long": 2,
|
||||
} {
|
||||
lines := formatConfig(in)
|
||||
|
Reference in New Issue
Block a user