(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestExtractTmdlBlockHandlesTabIndentation(t *testing.T) { |
| 46 | input := "item\n\tchild\n\t\tgrandchild\n\tsibling\nnext" |
| 47 | |
| 48 | got := ExtractTmdlBlock(input, "child") |
| 49 | want := "\tchild\n\t\tgrandchild" |
| 50 | if got != want { |
| 51 | t.Fatalf("ExtractTmdlBlock() = %q, want %q", got, want) |
| 52 | } |
| 53 | } |
nothing calls this directly
no test coverage detected