diff --git a/Cargo.toml b/Cargo.toml index 9b21d254..50dd84f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,5 +25,6 @@ env_logger = "0.7" linked-hash-map = "0.5.2" rand = "0.7" rand_distr = "0.2.1" +test-env-log = "0.2.7" [workspace] diff --git a/tests/cycles.rs b/tests/cycles.rs index ee364cf5..570f8167 100644 --- a/tests/cycles.rs +++ b/tests/cycles.rs @@ -1,4 +1,5 @@ use salsa::{ParallelDatabase, Snapshot}; +use test_env_log::test; #[derive(PartialEq, Eq, Hash, Clone, Debug)] struct Error { @@ -148,6 +149,7 @@ fn cycle_appears() { db.set_cycle_leaf(false); assert!(db.cycle_a().is_ok()); db.set_cycle_leaf(true); + log::debug!("Set Cycle Leaf"); assert!(db.cycle_a().is_err()); }