feat: repo health check (#16) #17

Merged
张泊明518370910136 merged 37 commits from file_check into master 2024-09-11 20:09:27 +08:00
Showing only changes of commit 9625fb210c - Show all commits

View File

@ -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))
} }