Skip to content

Commit 90915d8

Browse files
authored
Make tsk::version() test be version-independent.
1 parent e2afac0 commit 90915d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/tsk/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ mod test {
493493
const SMOL_NTFS_GZ: &[u8] = include_bytes!("../test_data/smol.ntfs.gz");
494494
#[test]
495495
fn test_version() {
496-
assert_eq!(version(), "4.13.0");
496+
assert_eq!(version().split(".").count(), 3);
497497
}
498498

499499
#[test]

0 commit comments

Comments
 (0)