Skip to content

Commit

Permalink
Remove test-log and env_logger.
Browse files Browse the repository at this point in the history
`test-log` is used with logging to set up `env_logger` for each
test and was only used in the box constraints code. This code
doesn't actually use logging, so this wasn't doing much.
  • Loading branch information
waywardmonkeys committed Apr 15, 2024
1 parent 8b29498 commit 21b9122
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 115 deletions.
110 changes: 0 additions & 110 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,3 @@ tracing = "0.1.37"
fnv = "1.0.7"
instant = { version = "0.1.6", features = ["wasm-bindgen"] }
winit = { version = "0.29", features = ["rwh_05"] }

[dev-dependencies]
env_logger = "0.10.0"
test-log = "0.2.11"
1 change: 0 additions & 1 deletion src/widget/box_constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ impl BoxConstraints {
#[cfg(test)]
mod tests {
use super::*;
use test_log::test;

fn bc(min_width: f64, min_height: f64, max_width: f64, max_height: f64) -> BoxConstraints {
BoxConstraints::new(
Expand Down

0 comments on commit 21b9122

Please sign in to comment.