number tests

This commit is contained in:
Aneurin Barker Snook
2023-10-08 16:20:21 +01:00
parent 7cb1900ec1
commit 1cb434327a
6 changed files with 51 additions and 43 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ func TestAll(t *testing.T) {
{Input: "01abcd", F: f, Err: ErrValueNotAllowed},
}
for _, tc := range testCases {
t.Logf("Testing %q", tc.Input)
for n, tc := range testCases {
t.Logf("(%d) Testing %q", n, tc.Input)
err := tc.F(tc.Input)