From aac0cd244893f83ef3060382e9d2f21f5c5ef0c7 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 6 Oct 2026 16:14:50 +0800 Subject: [PATCH] edit: gofmt toml_literal_test.go (from #427: comment alignment and the missing final newline) --- internal/edit/toml_literal_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/edit/toml_literal_test.go b/internal/edit/toml_literal_test.go index 1a5f23248..1968b546b 100644 --- a/internal/edit/toml_literal_test.go +++ b/internal/edit/toml_literal_test.go @@ -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) { } }) } -} \ No newline at end of file +}