Skip to content

Commit 5e4e5cb

Browse files
committed
Fix: update and extend libver_bounds() fapl tests
1 parent 63bf1c0 commit 5e4e5cb

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

tests/test_plist.rs

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -478,22 +478,13 @@ fn test_fapl_set_coll_metadata_write() -> h5::Result<()> {
478478
}
479479

480480
#[test]
481+
#[cfg(hdf5_1_10_2)]
481482
fn test_fapl_set_libver_bounds() -> h5::Result<()> {
482-
if cfg!(hdf5_1_10_0) {
483-
test_pl!(
484-
FA,
485-
libver_bounds(true): low = LibraryVersion::Earliest,
486-
high = LibraryVersion::V110
487-
);
488-
test_pl!(FA, libver_bounds(false): low = LibraryVersion::V110, high = LibraryVersion::V110);
489-
} else {
490-
test_pl!(
491-
FA,
492-
libver_bounds(true): low = LibraryVersion::Earliest,
493-
high = LibraryVersion::V18
494-
);
495-
test_pl!(FA, libver_bounds(false): low = LibraryVersion::V18, high = LibraryVersion::V18);
496-
}
483+
test_pl!(FA, libver_bounds: low = LibraryVersion::Earliest, high = LibraryVersion::V18);
484+
test_pl!(FA, libver_bounds: low = LibraryVersion::Earliest, high = LibraryVersion::V110);
485+
test_pl!(FA, libver_bounds: low = LibraryVersion::V18, high = LibraryVersion::V18);
486+
test_pl!(FA, libver_bounds: low = LibraryVersion::V18, high = LibraryVersion::V110);
487+
test_pl!(FA, libver_bounds: low = LibraryVersion::V110, high = LibraryVersion::V110);
497488
Ok(())
498489
}
499490

0 commit comments

Comments
 (0)