Skip to content

Commit

Permalink
Feature-gate multithreading tests
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Nov 6, 2024
1 parent 2c2141d commit 7f6b16a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions geo-types/src/geometry/multi_line_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ mod test {
use super::*;
use crate::{line_string, wkt};

#[cfg(feature = "multithreading")]
#[test]
fn test_multithreading_linestring() {
let multi: MultiLineString<i32> = wkt! {
Expand Down
1 change: 1 addition & 0 deletions geo-types/src/geometry/multi_polygon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ mod test {
}
}

#[cfg(feature = "multithreading")]
#[test]
fn test_par_iter() {
let multi = MultiPolygon::new(vec![
Expand Down

0 comments on commit 7f6b16a

Please sign in to comment.