From 6d27df3b7721f0c9e8b00a50d454c2082664da12 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 9 Jan 2021 19:16:07 +0100 Subject: [PATCH] Use unstable sort for theme test --- tests/assets.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/assets.rs b/tests/assets.rs index d5de9015..fc01d9e8 100644 --- a/tests/assets.rs +++ b/tests/assets.rs @@ -8,7 +8,7 @@ fn all_themes_are_present() { let assets = HighlightingAssets::from_binary(); let mut themes: Vec<_> = assets.themes().collect(); - themes.sort(); + themes.sort_unstable(); assert_eq!( themes,