number tests

This commit is contained in:
Aneurin Barker Snook
2023-10-08 16:20:21 +01:00
parent e7c89e8fa7
commit 6fe69d65ea
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ func TestReadParams(t *testing.T) {
}, },
} }
for _, tc := range testCases { for n, tc := range testCases {
t.Logf("Testing %q", tc.Input) t.Logf("(%d) Testing %q", n, tc.Input)
params := ReadParams(tc.Input) params := ReadParams(tc.Input)
+2 -2
View File
@@ -79,8 +79,8 @@ RETURN doc`,
}, },
} }
for _, tc := range testCases { for n, tc := range testCases {
t.Logf("Testing %+v", tc.Input) t.Logf("(%d) Testing %+v", n, tc.Input)
actualStr := tc.Input.String() actualStr := tc.Input.String()