(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func 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 | |
| 42 | func TestOSC8Link_URLAsDisplayText(t *testing.T) { |
| 43 | disableAnsi = false |
nothing calls this directly
no test coverage detected