Promote verified native PDF and box capacity support

This commit is contained in:
gloamxun committed 2026-11-19 14:39:39 +08:00
1 parent 3706afa483
commit 72ed779749
31 files changed
+1042 -78

No files matched your search

@@ -334,7 +334,7 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
let envelope: serde_json::Value = serde_json::from_slice(&encoded).unwrap();
let original: serde_json::Value =
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
assert_eq!(original["schema"], 23);
assert_eq!(original["schema"], 25);
for (schema, expected) in [
(1, "incompatible native format"),
(2, "incompatible native format"),
@@ -358,7 +358,9 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
(20, "incompatible native format"),
(21, "incompatible native format"),
(22, "incompatible native format"),
(23, "glyph_unicode"),
(23, "incompatible native format"),
(24, "incompatible native format"),
(25, "glyph_unicode"),
] {
let mut payload = original.clone();
payload["schema"] = schema.into();