============================================================================= ADDITIONAL: Test that the Unescape loop change doesn't affect error handling ============================================================================= Verifies: SYS-REQ-014 [boundary]
(t *testing.T)
| 768 | |
| 769 | // Verifies: SYS-REQ-014 [boundary] |
| 770 | func TestRemoval1_Unescape_InvalidEscape(t *testing.T) { |
| 771 | _, err := Unescape([]byte(`\z`), make([]byte, 64)) |
| 772 | if err == nil { |
| 773 | t.Fatal("expected MalformedStringEscapeError for \\z") |
| 774 | } |
| 775 | } |
| 776 | |
| 777 | // Verifies: SYS-REQ-014 [boundary] |
| 778 | func TestRemoval1_Unescape_ConsecutiveEscapes(t *testing.T) { |
nothing calls this directly
no test coverage detected