(t *testing.T)
| 91 | } |
| 92 | |
| 93 | func TestElixirFiles(t *testing.T) { |
| 94 | var comments Comments |
| 95 | err := SearchDir("testdata/elixir", func(comment *Comment) { |
| 96 | comments = append(comments, comment) |
| 97 | }) |
| 98 | if err != nil { |
| 99 | t.Fatal(err) |
| 100 | } |
| 101 | |
| 102 | if len(comments) != 2 { |
| 103 | t.Fail() |
| 104 | } |
| 105 | } |
nothing calls this directly
no test coverage detected