From 7654e892f08029303009cb25370c663d2ac6d035 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 17 Oct 2022 15:36:47 -0400 Subject: [PATCH] assert_eq! on hashmaps are unreliable, so print out differences ourselves --- tests/integration_test.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration_test.rs b/tests/integration_test.rs index ea3c372..2157c35 100755 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -146,5 +146,11 @@ fn test_patching() { let xivlauncher_files = fill_dir_hash(&xivlauncher_dir); let physis_files = fill_dir_hash(&physis_dir); + for file in xivlauncher_files.keys() { + if xivlauncher_files[file] != physis_files[file] { + println!("{} does not match!", file); + } + } + assert_eq!(physis_files, xivlauncher_files); } \ No newline at end of file