Skip to content

Commit c38e2d0

Browse files
bugsweeperBD103
andauthored
Math tests fix (#12748)
# Objective Fixes `cargo test -p bevy_math` as in #12729. ## Solution As described in [message](#12729 (comment)) Added workaround `bevy_math = { path = ".", version = "0.14.0-dev", features = ["approx"] }` to `bevy_math`'s `dev-dependencies` --------- Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
1 parent 4508077 commit c38e2d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/bevy_math/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ approx = "0.5"
2323
# Supply rngs for examples and tests
2424
rand = "0.8"
2525
rand_chacha = "0.3"
26+
# Enable the approx feature when testing.
27+
bevy_math = { path = ".", version = "0.14.0-dev", features = ["approx"] }
2628

2729
[features]
2830
default = ["rand"]

0 commit comments

Comments
 (0)