Skip to content

Commit

Permalink
Merge pull request #31 from dabreegster/upgrade
Browse files Browse the repository at this point in the history
Upgrade dependencies in tests
  • Loading branch information
Ihor authored Mar 1, 2022
2 parents 188f016 + 9403e8c commit 7198a03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
geo-booleanop = { path = "../lib", features = [] } # add "debug-booleanop" for debugging
geo = "0.17"
geo = "0.19"

# Note: It is crucial to enable arbitrary_precision on serde_json, otherwise
# JSON parsing isn't exact.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub fn extract_expected_result(feature: &Feature) -> ExpectedResult {
"xor" => TestOperation::Xor,
"diff" => TestOperation::DifferenceAB,
"diff_ba" => TestOperation::DifferenceBA,
_ => panic!(format!("Invalid operation: {}", op)),
_ => panic!("Invalid operation: {}", op),
};

let swap_ab_is_broken = properties
Expand Down
2 changes: 1 addition & 1 deletion tests/src/possible_intersection_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn test_on_two_polygons() {
}
}
if !found {
panic!(format!("interval {} not found", interval))
panic!("interval {} not found", interval);
}
}
}

0 comments on commit 7198a03

Please sign in to comment.