MCPcopy
hub / github.com/docker/compose / TestOSC8Link_AnsiDisabled

Function TestOSC8Link_AnsiDisabled

cmd/formatter/ansi_test.go:34–40  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

32}
33
34func TestOSC8Link_AnsiDisabled(t *testing.T) {
35 disableAnsi = true
36 t.Cleanup(func() { disableAnsi = false })
37
38 got := OSC8Link("http://example.com", "click here")
39 assert.Equal(t, got, "click here")
40}
41
42func TestOSC8Link_URLAsDisplayText(t *testing.T) {
43 disableAnsi = false

Callers

nothing calls this directly

Calls 1

OSC8LinkFunction · 0.85

Tested by

no test coverage detected