edit: gofmt toml_literal_test.go (from #427: comment alignment and the missing final newline)

This commit is contained in:
yetone committed 2026-10-06 16:14:50 +08:00
1 parent efd501ec74
commit aac0cd2448
1 file changed
+4 -4
+4 -4
View File
@@ -18,9 +18,9 @@ import (
func TestTOMLPreservingKeepsAValueTOMLCanParse(t *testing.T) {
// Control bytes Go escapes with \x and TOML defines no escape for.
values := []string{
"a" + string(rune(1)) + "b", // SOH
"a" + string(rune(0x7f)) + "b", // DEL
"a" + string(rune(0x0b)) + "b", // VT
"a" + string(rune(1)) + "b", // SOH
"a" + string(rune(0x7f)) + "b", // DEL
"a" + string(rune(0x0b)) + "b", // VT
"tab\there",
"nl\nhere",
"quote\"here",
@@ -95,4 +95,4 @@ func TestTOMLPreservingAndPlainAgreeOnEncoding(t *testing.T) {
}
})
}
}
}