From d3ea6c09714513d5100dbb9a632b2aca8db88e24 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Mon, 15 Jan 2024 00:29:50 -0500 Subject: [PATCH] Partially remove Seek constraint from ListingStream, extract fifo node in tests --- src/listing_stream.rs | 2 +- src/node.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/listing_stream.rs b/src/listing_stream.rs index 410efbd..4509b6c 100644 --- a/src/listing_stream.rs +++ b/src/listing_stream.rs @@ -7,7 +7,7 @@ use { }; #[derive(Debug)] -pub struct ListingStream { +pub struct ListingStream { pub length: u32, reader: R, } diff --git a/src/node.rs b/src/node.rs index 09eb84d..6749e87 100644 --- a/src/node.rs +++ b/src/node.rs @@ -519,5 +519,6 @@ mod tests { eprintln!("Read incorrect filetype: {:?}", node.filetype); panic!(); }; + node.extract(Some("test/output")).unwrap(); } }