(t *testing.T)
| 5 | ) |
| 6 | |
| 7 | func TestJSFiles(t *testing.T) { |
| 8 | var comments Comments |
| 9 | err := SearchDir("testdata/javascript", func(comment *Comment) { |
| 10 | comments = append(comments, comment) |
| 11 | }) |
| 12 | if err != nil { |
| 13 | t.Fatal(err) |
| 14 | } |
| 15 | |
| 16 | if len(comments) != 3 { |
| 17 | t.Fail() |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func TestLispFiles(t *testing.T) { |
| 22 | var comments Comments |
nothing calls this directly
no test coverage detected