style: gofmt 7 test files

This commit is contained in:
MDietermann
2026-04-14 21:30:50 +02:00
parent 137a9b62a5
commit c579375c83
7 changed files with 30 additions and 26 deletions

View File

@@ -45,14 +45,14 @@ func TestRenderPlanEmpty(t *testing.T) {
func TestParseIntClamp(t *testing.T) {
cases := map[string]int{
"": 1,
" ": 1,
"abc": 1,
"3abc": 1, // partial match is rejected (strconv.Atoi, not Sscanf)
"0": 1,
"-5": 1,
"3": 3,
"12": 12,
"": 1,
" ": 1,
"abc": 1,
"3abc": 1, // partial match is rejected (strconv.Atoi, not Sscanf)
"0": 1,
"-5": 1,
"3": 3,
"12": 12,
"99999999999999999999": 1, // overflow → fallback
}
for in, want := range cases {