From 87c73741d04a418627f7ba35b9c9bf1e392a175d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 9 Feb 2020 10:32:09 +1000 Subject: [PATCH] test shouldn't depend on dentry order --- rslib/src/media/check.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rslib/src/media/check.rs b/rslib/src/media/check.rs index 7d2cf1ef2..bbe015469 100644 --- a/rslib/src/media/check.rs +++ b/rslib/src/media/check.rs @@ -215,7 +215,8 @@ mod test { let progress = |_n| true; let mut checker = MediaChecker::new(&mgr, progress); - let output = checker.check()?; + let mut output = checker.check()?; + output.files.sort(); assert_eq!( output,