Verify schema 28 format round trips and rejection gates
This commit is contained in:
1 parent
4eeb5686b8
commit
091458d329
4 files changed
+10
-3
No files matched your search
@@ -246,7 +246,7 @@ fn genuine_fraction_primitives_and_retained_boxes_survive_format_roundtrip() {
|
||||
let envelope: serde_json::Value = serde_json::from_slice(&bytes).unwrap();
|
||||
let payload: serde_json::Value =
|
||||
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
|
||||
assert_eq!(payload["schema"], 27);
|
||||
assert_eq!(payload["schema"], 28);
|
||||
let state = State::initex().with_etex();
|
||||
let loaded = FormatImage::decode(&bytes)
|
||||
.unwrap()
|
||||
|
||||
Reference in new issue
Block a user