(t *testing.T)
| 42 | } |
| 43 | |
| 44 | func TestUntrustedBytes_roundTrip(t *testing.T) { |
| 45 | u := NewUntrustedBytes([]byte("plain text")) |
| 46 | assert.Equal(t, "plain text", u.String()) |
| 47 | } |
| 48 | |
| 49 | func TestStripControl_dropsC0KeepsWhitespace(t *testing.T) { |
| 50 | assert.Equal(t, "abc\td\ne", stripControl("a\x1bb\x07c\td\ne")) |
nothing calls this directly
no test coverage detected