MCPcopy Create free account
hub / github.com/apache/avro-rs / test_reader_only_header

Function test_reader_only_header

avro/src/reader/mod.rs:303–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301
302 #[test]
303 fn test_reader_only_header() -> TestResult {
304 let mut invalid = &ENCODED[..165];
305 let reader = Reader::new(&mut invalid)?;
306 for value in reader {
307 assert!(value.is_err());
308 }
309
310 Ok(())
311 }
312
313 #[test]
314 fn test_avro_3405_read_user_metadata_success() -> TestResult {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected