From 6c0d52d421a47bb486eafe8a62363c147bf5fa2f Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 8 Jun 2025 01:44:15 +0200 Subject: common: Improve assert_eq output in tests --- server/common/Cargo.toml | 1 + server/common/src/tests.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'server') 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; -- cgit v1.2.3-70-g09d2