(t *testing.T)
| 3 | import "testing" |
| 4 | |
| 5 | func TestIconText(t *testing.T) { |
| 6 | t.Parallel() |
| 7 | |
| 8 | if got := IconText("ok", "Connected", true); got != "ok Connected" { |
| 9 | t.Fatalf("expected icon-prefixed text, got %q", got) |
| 10 | } |
| 11 | if got := IconText("ok", "Connected", false); got != "Connected" { |
| 12 | t.Fatalf("expected plain text, got %q", got) |
| 13 | } |
| 14 | } |
nothing calls this directly
no test coverage detected