feat: repo health check (#16) #17
|  | @ -14,18 +14,6 @@ import ( | ||||||
| 
 | 
 | ||||||
| func compareStageResults(t *testing.T, actual, expected []stage.StageResult, regex bool) { | func compareStageResults(t *testing.T, actual, expected []stage.StageResult, regex bool) { | ||||||
| 	t.Helper() | 	t.Helper() | ||||||
| 
 |  | ||||||
| 	// For Test
 |  | ||||||
| 	fmt.Println("Actual:") |  | ||||||
| 	for _, result := range actual { |  | ||||||
| 		fmt.Println(result) |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	fmt.Println("Expected:") |  | ||||||
| 	for _, result := range expected { |  | ||||||
| 		fmt.Println(result) |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	if len(actual) != len(expected) { | 	if len(actual) != len(expected) { | ||||||
| 		t.Fatalf("len(actual) = %d, expected %d", len(actual), len(expected)) | 		t.Fatalf("len(actual) = %d, expected %d", len(actual), len(expected)) | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user