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

Function test_reader_empty_buffer

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

Source from the content-addressed store, hash-verified

293
294 #[test]
295 fn test_reader_empty_buffer() -> TestResult {
296 let empty = Cursor::new(Vec::new());
297 assert!(Reader::new(empty).is_err());
298
299 Ok(())
300 }
301
302 #[test]
303 fn test_reader_only_header() -> TestResult {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected