1
0
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:
Lonnie Liu
2021-02-15 14:23:01 -08:00
committed by Olli Janatuinen
parent 6cde287f87
commit af08844a9a
4 changed files with 24 additions and 23 deletions

View File

@@ -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)