소스 검색

number tests

Aneurin Barker Snook 1 년 전
부모
커밋
6fe69d65ea
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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()