(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func TestPHPFiles(t *testing.T) { |
| 52 | var comments Comments |
| 53 | err := SearchDir("testdata/php", func(comment *Comment) { |
| 54 | comments = append(comments, comment) |
| 55 | }) |
| 56 | if err != nil { |
| 57 | t.Fatal(err) |
| 58 | } |
| 59 | |
| 60 | if len(comments) != 3 { |
| 61 | t.Fail() |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | func TestKotlinFiles(t *testing.T) { |
| 66 | var comments Comments |
nothing calls this directly
no test coverage detected