()
| 11 | var examples []CodeBlock |
| 12 | |
| 13 | func init() { |
| 14 | b, err := os.ReadFile("../../testdata/examples.md") |
| 15 | if err != nil { |
| 16 | panic(err) |
| 17 | } |
| 18 | examples = extractCodeBlocksWithTitle(string(b)) |
| 19 | } |
| 20 | |
| 21 | func TestExamples(t *testing.T) { |
| 22 | for _, code := range examples { |
nothing calls this directly
no test coverage detected
searching dependent graphs…