Verifies: SYS-REQ-014 [boundary]
(t *testing.T)
| 47 | |
| 48 | // Verifies: SYS-REQ-014 [boundary] |
| 49 | func TestRemoval1_Unescape_LoopExitsOnTrailingEscape(t *testing.T) { |
| 50 | out, err := Unescape([]byte(`\n`), make([]byte, 64)) |
| 51 | if err != nil { |
| 52 | t.Fatalf("unexpected error: %v", err) |
| 53 | } |
| 54 | if string(out) != "\n" { |
| 55 | t.Fatalf("unexpected result: %q", out) |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | // Verifies: SYS-REQ-007 [boundary] |
| 60 | func TestRemoval1_ObjectEach_LoopExitsOnEmptyObject(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…