Skip to content

Commit

Permalink
Fine-tune version check for ignored tests
Browse files Browse the repository at this point in the history
@rahulchaphalkar pointed out that the first part of this check should
filter out pre-2024 releases; fixes an issue in #144.
  • Loading branch information
abrown committed Oct 9, 2024
1 parent 100eabc commit d42360e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/openvino/tests/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ pub fn is_version_pre_2024_2() -> bool {
let mut parts = version.parts();
let year: usize = parts.next().unwrap().parse().unwrap();
let minor: usize = parts.next().unwrap().parse().unwrap();
year <= 2024 || (year == 2024 && minor < 2)
year < 2024 || (year == 2024 && minor < 2)
}

0 comments on commit d42360e

Please sign in to comment.