()
| 1014 | |
| 1015 | #[test] |
| 1016 | fn test_schema_version_in_decoded() { |
| 1017 | let e = make_minimal_envelope(); |
| 1018 | let bytes = e.encode().unwrap(); |
| 1019 | let decoded = SessionEnvelope::decode(&bytes).unwrap(); |
| 1020 | assert_eq!(decoded.schema_version, SCHEMA_VERSION); |
| 1021 | } |
| 1022 | |
| 1023 | #[test] |
| 1024 | fn test_future_version_rejected() { |
nothing calls this directly
no test coverage detected