Fix flaky test_highlighted_ranges due to random TypeId ordering

This commit is contained in:
Antonio Scandurra 2022-02-02 10:09:12 +01:00
parent 74e5c5b89a
commit ae5aebf405
2 changed files with 17 additions and 13 deletions

View file

@ -12,7 +12,7 @@ use serde::{
};
use serde_json::json;
#[derive(Clone, Copy, Default, PartialEq, Eq, Hash)]
#[derive(Clone, Copy, Default, PartialEq, Eq, Hash, PartialOrd, Ord)]
#[repr(transparent)]
pub struct Color(ColorU);