Skip to content

Commit 98ff9f7

Browse files
authored
Change test attribute from expect to allow for MSRV (#42)
- [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/master/CODE_OF_CONDUCT.md). ~- [ ] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users.~ ---
1 parent 62c577f commit 98ff9f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bounds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ mod tests {
427427
}
428428

429429
#[test]
430-
#[expect(clippy::panic_in_result_fn)]
430+
#[allow(clippy::panic_in_result_fn)]
431431
fn test_from() -> Result<(), ParseBoundsError> {
432432
let exp = Bounds::new(1.0, 2.0, 3.0, 4.0);
433433
assert_eq!(exp, Bounds::from([1.0, 2.0, 3.0, 4.0]));

0 commit comments

Comments
 (0)