MCPcopy Index your code
hub / github.com/augmentable-dev/tickgit / TestRustFiles

Function TestRustFiles

pkg/comments/comments_test.go:35–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

33}
34
35func TestRustFiles(t *testing.T) {
36 var comments Comments
37 err := SearchDir("testdata/rust", func(comment *Comment) {
38 comments = append(comments, comment)
39 })
40 if err != nil {
41 t.Fatal(err)
42 }
43
44 // TODO: break the different comment types out into separate files?
45 // once the issue with lege is worked out for handling the different comment types
46 if len(comments) != 21 {
47 t.Fail()
48 }
49}
50
51func TestPHPFiles(t *testing.T) {
52 var comments Comments

Callers

nothing calls this directly

Calls 1

SearchDirFunction · 0.85

Tested by

no test coverage detected