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

Function TestElixirFiles

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

Source from the content-addressed store, hash-verified

91}
92
93func 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}

Callers

nothing calls this directly

Calls 1

SearchDirFunction · 0.85

Tested by

no test coverage detected