(t *testing.T)
| 61 | } |
| 62 | |
| 63 | func TestGraphHelpers(t *testing.T) { |
| 64 | if graphSlug(" Auth Flow ") != "auth flow" { |
| 65 | t.Errorf("graphSlug: %q", graphSlug(" Auth Flow ")) |
| 66 | } |
| 67 | if tagID("Go") != "tag:go" { |
| 68 | t.Errorf("tagID: %q", tagID("Go")) |
| 69 | } |
| 70 | if got := graphTitle("first line\nsecond line"); got != "first line" { |
| 71 | t.Errorf("graphTitle: %q", got) |
| 72 | } |
| 73 | } |
nothing calls this directly
no test coverage detected