(t *testing.T, dir string, n int)
| 74 | } |
| 75 | |
| 76 | func checkFileCount(t *testing.T, dir string, n int) { |
| 77 | fileCount, err := GetFileCount(dir) |
| 78 | if err != nil { |
| 79 | t.Error(err) |
| 80 | } |
| 81 | if fileCount != n { |
| 82 | t.Fatalf("Expected %d files inside the directories", n) |
| 83 | } |
| 84 | } |
no test coverage detected