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