diff options
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/sorting.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/sorting.rs b/src/output/sorting.rs index 32ebc6c..ef00123 100644 --- a/src/output/sorting.rs +++ b/src/output/sorting.rs @@ -138,7 +138,7 @@ mod tests { assert_eq!("foobar".parse::<Component>(), Err(InvalidComponent)); assert_eq!( - "-date".parse(), + "~date".parse(), Ok(Component::Reverse(Box::new(Component::Date))) ); } @@ -149,7 +149,7 @@ mod tests { assert_eq!("date".parse(), Ok(Sorting::new(vec![Date]))); assert_eq!("date,boss".parse(), Ok(Sorting::new(vec![Date, Boss]))); assert_eq!( - "date,-boss".parse(), + "date,~boss".parse(), Ok(Sorting::new(vec![Date, Reverse(Box::new(Boss))])) ); assert_eq!("".parse(), Ok(Sorting::default())); |