aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.rs')
-rw-r--r--src/path.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/path.rs b/src/path.rs
index 11eaa5a..9cb499a 100644
--- a/src/path.rs
+++ b/src/path.rs
@@ -56,6 +56,8 @@ mod tests {
};
let rhs_packet = Packet::from_str(sample).unwrap();
- assert!(lhs_packet == rhs_packet, "{}", print_compare(lhs_packet, rhs_packet));
+ assert_eq!(lhs_packet, rhs_packet);
+
+ assert_eq!(format!("{}", lhs_packet), " Flood | v1 | | [ba, 03, ... a9, 22] | | PATH | (51) -> (13) MAC: 768d ");
}
} \ No newline at end of file