(t *testing.T)
| 63 | } |
| 64 | |
| 65 | func TestKotlinFiles(t *testing.T) { |
| 66 | var comments Comments |
| 67 | err := SearchDir("testdata/kotlin", func(comment *Comment) { |
| 68 | comments = append(comments, comment) |
| 69 | }) |
| 70 | if err != nil { |
| 71 | t.Fatal(err) |
| 72 | } |
| 73 | |
| 74 | if len(comments) != 2 { |
| 75 | t.Fail() |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func TestJuliaFiles(t *testing.T) { |
| 80 | var comments Comments |
nothing calls this directly
no test coverage detected