Verifies: SYS-REQ-014 [boundary]
(t *testing.T)
| 216 | |
| 217 | // Verifies: SYS-REQ-014 [boundary] |
| 218 | func TestRemoval3_DecodeSingleUnicodeEscape_MinValue(t *testing.T) { |
| 219 | r, ok := decodeSingleUnicodeEscape([]byte(`\u0000`)) |
| 220 | if !ok { |
| 221 | t.Fatal("failed to decode \\u0000") |
| 222 | } |
| 223 | if r != 0 { |
| 224 | t.Fatalf("expected 0, got 0x%X", r) |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | // Verifies: SYS-REQ-014 [boundary] |
| 229 | func TestRemoval3_DecodeUnicodeEscape_BMP_NonSurrogate(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…