MCPcopy
hub / github.com/dosco/graphjin / readTestFile

Function readTestFile

serv/codesql_test.go:780–787  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

778}
779
780func readTestFile(t *testing.T, path string) string {
781 t.Helper()
782 data, err := os.ReadFile(path)
783 if err != nil {
784 t.Fatal(err)
785 }
786 return string(data)
787}
788
789func assertServiceCount(t *testing.T, s *graphjinService, dbName, query string, want int) {
790 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected