(t *testing.T)
| 19 | } |
| 20 | |
| 21 | func TestLispFiles(t *testing.T) { |
| 22 | var comments Comments |
| 23 | err := SearchDir("testdata/lisp", func(comment *Comment) { |
| 24 | comments = append(comments, comment) |
| 25 | }) |
| 26 | if err != nil { |
| 27 | t.Fatal(err) |
| 28 | } |
| 29 | |
| 30 | if len(comments) != 1 { |
| 31 | t.Fail() |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | func TestRustFiles(t *testing.T) { |
| 36 | var comments Comments |
nothing calls this directly
no test coverage detected