From 0490070f4bb8fbe690dbdad0a545a32e04ccff20 Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Tue, 23 Apr 2024 11:33:37 +0200 Subject: [PATCH] Fix path to asset in doc test --- src/pcapng/enhanced_packet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcapng/enhanced_packet.rs b/src/pcapng/enhanced_packet.rs index fa92bd7..5b0b491 100644 --- a/src/pcapng/enhanced_packet.rs +++ b/src/pcapng/enhanced_packet.rs @@ -23,7 +23,7 @@ use super::*; /// use pcap_parser::pcapng::parse_enhancedpacketblock_le; /// use pcap_parser::traits::PcapNGPacketBlock; /// -/// # let input_data = include_bytes!("../assets/test001-le.pcapng"); +/// # let input_data = include_bytes!("../../assets/test001-le.pcapng"); /// # let pcap_data = &input_data[148..=495]; /// let (i, epb) = parse_enhancedpacketblock_le(pcap_data).unwrap(); /// let packet_data = epb.packet_data();