Aneurin Barker Snook il y a 1 an
Parent
commit
6fe69d65ea
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      params_test.go
  2. 2 2
      query_test.go

+ 2 - 2
params_test.go

@@ -22,8 +22,8 @@ func TestReadParams(t *testing.T) {
 		},
 	}
 
-	for _, tc := range testCases {
-		t.Logf("Testing %q", tc.Input)
+	for n, tc := range testCases {
+		t.Logf("(%d) Testing %q", n, tc.Input)
 
 		params := ReadParams(tc.Input)
 

+ 2 - 2
query_test.go

@@ -79,8 +79,8 @@ RETURN doc`,
 		},
 	}
 
-	for _, tc := range testCases {
-		t.Logf("Testing %+v", tc.Input)
+	for n, tc := range testCases {
+		t.Logf("(%d) Testing %+v", n, tc.Input)
 
 		actualStr := tc.Input.String()