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

Function TestJSFiles

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

Source from the content-addressed store, hash-verified

5)
6
7func 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
21func TestLispFiles(t *testing.T) {
22 var comments Comments

Callers

nothing calls this directly

Calls 1

SearchDirFunction · 0.85

Tested by

no test coverage detected