Verifies: SYS-REQ-014 [boundary]
(t *testing.T)
| 770 | |
| 771 | // Verifies: SYS-REQ-014 [boundary] |
| 772 | func TestRemoval1_Unescape_ConsecutiveEscapes(t *testing.T) { |
| 773 | out, err := Unescape([]byte(`\n\t\r`), make([]byte, 64)) |
| 774 | if err != nil { |
| 775 | t.Fatalf("unexpected error: %v", err) |
| 776 | } |
| 777 | if string(out) != "\n\t\r" { |
| 778 | t.Fatalf("unexpected result: %q", out) |
| 779 | } |
| 780 | } |
| 781 | |
| 782 | // Verifies: SYS-REQ-014 [boundary] |
| 783 | func TestRemoval1_Unescape_EscapedQuote(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…