(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func TestStripControl_dropsC0KeepsWhitespace(t *testing.T) { |
| 50 | assert.Equal(t, "abc\td\ne", stripControl("a\x1bb\x07c\td\ne")) |
| 51 | } |
| 52 | |
| 53 | // The showcase property: an Untrusted struct field is populated by |
| 54 | // json.Unmarshal with provenance intact, so printing it later sanitizes even |
nothing calls this directly
no test coverage detected