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