Skip to content

Commit

Permalink
Fix path to asset in doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Apr 23, 2024
1 parent 830d82b commit 0490070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcapng/enhanced_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0490070

Please sign in to comment.