diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-06-08 01:44:15 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-06-08 01:44:15 +0200 |
| commit | 6c0d52d421a47bb486eafe8a62363c147bf5fa2f (patch) | |
| tree | 198168685163384ca79d8dd17c19d9aaeec4fac0 | |
| parent | 6bd0c135a877627c2d730649824dee7d5bfa6b08 (diff) | |
common: Improve assert_eq output in tests
| -rw-r--r-- | server/common/Cargo.toml | 1 | ||||
| -rw-r--r-- | server/common/src/tests.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/server/common/Cargo.toml b/server/common/Cargo.toml index 2c70d43..3e374a9 100644 --- a/server/common/Cargo.toml +++ b/server/common/Cargo.toml @@ -9,6 +9,7 @@ futures.workspace = true log.workspace = true md5 = "0.7.0" pathdiff = "0.2.3" +pretty_assertions.workspace = true serde.workspace = true tokio = { workspace = true, features = ["fs", "macros", "process", "rt", "sync"] } xml-rs = "0.8.26" diff --git a/server/common/src/tests.rs b/server/common/src/tests.rs index 29ee6d6..e7d6815 100644 --- a/server/common/src/tests.rs +++ b/server/common/src/tests.rs @@ -1,3 +1,4 @@ +use pretty_assertions::assert_eq; use std::path::{Path, PathBuf}; use testdir::testdir; use tokio::fs; |
