Verifies: SYS-REQ-014 [boundary]
(t *testing.T)
| 776 | |
| 777 | // Verifies: SYS-REQ-014 [boundary] |
| 778 | func TestRemoval1_Unescape_ConsecutiveEscapes(t *testing.T) { |
| 779 | out, err := Unescape([]byte(`\n\t\r`), make([]byte, 64)) |
| 780 | if err != nil { |
| 781 | t.Fatalf("unexpected error: %v", err) |
| 782 | } |
| 783 | if string(out) != "\n\t\r" { |
| 784 | t.Fatalf("unexpected result: %q", out) |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | // Verifies: SYS-REQ-014 [boundary] |
| 789 | func TestRemoval1_Unescape_EscapedQuote(t *testing.T) { |
nothing calls this directly
no test coverage detected