on master help sign in
Use unstable sort for theme test
6d27df3sharkdp
tests/assets.rs+1−1
@@ -8,7 +8,7 @@ fn all_themes_are_present() {
8 let assets = HighlightingAssets::from_binary();
8 let assets = HighlightingAssets::from_binary();
9
9
10 let mut themes: Vec<_> = assets.themes().collect();
10 let mut themes: Vec<_> = assets.themes().collect();
11− themes.sort();
11+ themes.sort_unstable();
12
12
13 assert_eq!(
13 assert_eq!(
14 themes,
14 themes,