Skip to content

Commit

Permalink
Merge pull request #1041 from 0x53A/fix-clippy-format
Browse files Browse the repository at this point in the history
fix clippy warnings: this looks like a formatting argument but it is not part of a formatting macro
  • Loading branch information
Bromeon authored Feb 10, 2025
2 parents cadfd16 + 8fd043c commit 187a289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itest/rust/src/builtin_tests/geometry/quaternion_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ fn quaternion_from_axis_angle() {
assert_eq_approx!(quat.w, 0.877583);

// 2. Should panic if axis is not normalized.
expect_panic("Quaternion axis {axis:?} is not normalized.", || {
expect_panic("Quaternion axis (0, 0, 0) is not normalized.", || {
Quaternion::from_axis_angle(Vector3::ZERO, 1.0);
});

expect_panic("Quaternion axis {axis:?} is not normalized.", || {
expect_panic("Quaternion axis (0, 0.7, 0) is not normalized.", || {
Quaternion::from_axis_angle(Vector3::UP * 0.7, 1.0);
});
}
Expand Down

0 comments on commit 187a289

Please sign in to comment.