exa/src/options
Benjamin Sago 0b87392fd4 Decouple assert_eq! and assert_parses
The assert_parses function was problematic because it insisted on using assert_eq! to check its contents. This won’t work for any type we want to test that doesn’t implement PartialEq, such as TimeFormat, which holds references to years and date strings and other such.

To go about fixing this, the first step is to change that function so it only does the initial processing, rather than the assertion, which is now done outside of it in the test macros instead.
2017-08-09 13:41:07 +01:00
..
dir_action.rs Decouple assert_eq! and assert_parses 2017-08-09 13:41:07 +01:00
filter.rs Decouple assert_eq! and assert_parses 2017-08-09 13:41:07 +01:00
flags.rs Add tests for dir_option 2017-08-05 13:57:20 +01:00
help.rs Be stricter in strict mode 2017-08-09 09:21:29 +01:00
misfire.rs Be stricter in strict mode 2017-08-09 09:21:29 +01:00
mod.rs Decouple assert_eq! and assert_parses 2017-08-09 13:41:07 +01:00
parser.rs Be stricter in strict mode 2017-08-09 09:21:29 +01:00
version.rs Be stricter in strict mode 2017-08-09 09:21:29 +01:00
view.rs Decouple assert_eq! and assert_parses 2017-08-09 13:41:07 +01:00