MCPcopy Create free account
hub / github.com/github/gh-aw / TestBannerLogoEmbedded

Function TestBannerLogoEmbedded

pkg/console/banner_test.go:30–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28}
29
30func TestBannerLogoEmbedded(t *testing.T) {
31 // Check that the embedded logo is not empty
32 if bannerLogo == "" {
33 t.Error("bannerLogo should not be empty")
34 }
35
36 // Check that it contains the expected ASCII art patterns
37 if !strings.Contains(bannerLogo, "___") {
38 t.Error("bannerLogo should contain ASCII art pattern '___'")
39 }
40
41 if !strings.Contains(bannerLogo, "|") {
42 t.Error("bannerLogo should contain ASCII art pipe characters")
43 }
44}
45
46func TestBannerStyleInitialized(t *testing.T) {
47 // Ensure FormatBanner always returns visible banner content.

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected