(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestFormatDebugTermHex(t *testing.T) { |
| 12 | output := formatDebugTermHex([]byte("abc")) |
| 13 | if !strings.Contains(output, "61 62 63") { |
| 14 | t.Fatalf("unexpected hex output: %q", output) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func TestFormatDebugTermDecode(t *testing.T) { |
| 19 | data := []byte("abc\x1b[31mred\x1b[0m\x07\x1b]0;title\x07\x00") |
nothing calls this directly
no test coverage detected