chore: gofmt four drifted test files
0ed26bb6d3d64b0091cd091a453ee7db41bc8769
humdrum-tiv <45084903+humdrum-tiv@users.noreply.github.com> · 2026-07-30 19:59
parent 926995ed
chore: gofmt four drifted test files These four predate TASK-046 and were the only files gofmt -l reported. Formatting only, no behavior change.
4 files changed
internal/app/mouseleak_test.go +2 −2
@@ -6,8 +6,8 @@ func TestLooksLikeMouseLeak(t *testing.T) {
leak := []string{
"<64;68;26M",
"<64;68;26M<64;68;26M<64;68;26M",
- "64;68;26M", // leading '<' consumed by the parser
- "<65;68;26m", // release form (lowercase m)
+ "64;68;26M", // leading '<' consumed by the parser
+ "<65;68;26m", // release form (lowercase m)
"<0;1;1M<0;2;2M",
}
for _, s := range leak {
internal/export/export_test.go +8 −8
@@ -161,14 +161,14 @@ }
func TestCSSFontStackQuotesMultiWordNames(t *testing.T) {
cases := map[string]string{
- "Awke": "Awke", // single ident — fine bare
- "Untitled Sans": `"Untitled Sans"`, // space → must quote
- "Maple Mono": `"Maple Mono"`, // space → must quote
- "Inter, system-ui, sans-serif": "Inter, system-ui, sans-serif",
- "Maple Mono, ui-monospace, monospace": `"Maple Mono", ui-monospace, monospace`,
- `"Untitled Sans", sans-serif`: `"Untitled Sans", sans-serif`, // already quoted — leave
- "'Already Quoted'": "'Already Quoted'", // single-quoted — leave
- "": "",
+ "Awke": "Awke", // single ident — fine bare
+ "Untitled Sans": `"Untitled Sans"`, // space → must quote
+ "Maple Mono": `"Maple Mono"`, // space → must quote
+ "Inter, system-ui, sans-serif": "Inter, system-ui, sans-serif",
+ "Maple Mono, ui-monospace, monospace": `"Maple Mono", ui-monospace, monospace`,
+ `"Untitled Sans", sans-serif`: `"Untitled Sans", sans-serif`, // already quoted — leave
+ "'Already Quoted'": "'Already Quoted'", // single-quoted — leave
+ "": "",
}
for in, want := range cases {
if got := cssFontStack(in); got != want {
internal/export/fonts_test.go +9 −9
@@ -7,15 +7,15 @@ )
func TestPrimaryFamily(t *testing.T) {
cases := map[string]string{
- "Awke": "Awke",
- "Untitled Sans": "Untitled Sans",
- "Inter, system-ui, sans-serif": "Inter",
- `"Untitled Sans", sans-serif`: "Untitled Sans",
- "'Maple Mono', ui-monospace": "Maple Mono",
- " Spaced , x": "Spaced",
- "": "",
- "system-ui": "", // generic-only → nothing to embed
- "Georgia, serif": "Georgia",
+ "Awke": "Awke",
+ "Untitled Sans": "Untitled Sans",
+ "Inter, system-ui, sans-serif": "Inter",
+ `"Untitled Sans", sans-serif`: "Untitled Sans",
+ "'Maple Mono', ui-monospace": "Maple Mono",
+ " Spaced , x": "Spaced",
+ "": "",
+ "system-ui": "", // generic-only → nothing to embed
+ "Georgia, serif": "Georgia",
}
for in, want := range cases {
if got := primaryFamily(in); got != want {
internal/spell/dict_test.go +1 −1
@@ -60,7 +60,7 @@ "I'd", "I'll", "I'm", "I've", "you're", "we're", "they're", "they've",
"it's", "that's", "there's", "who's", "let's", "he'll", "she'd",
"y'all", "o'clock",
"ISN'T", "Don't", // case-insensitive
- "isn’t", "I’d", // curly apostrophe
+ "isn’t", "I’d", // curly apostrophe
}
for _, w := range cases {
if !d.Known(w) {