fd/src
Josh Leeb-du Toit adc467b2b2 Add exec tests and cfg(test) compiler guards
Some tests throughout the codebase were just functions marked with the
`#[test]` macro. It is convention to have these test functions in a
`test` module with a compiler guard `cfg(test)`. This PR updates the
tests that aren't already setup like this to be in the `test` module.

Additionally, this PR also adds tests to the `exec` module to check the
remaining `Token` enum variations.
2018-10-03 13:04:22 +02:00
..
exec Add exec tests and cfg(test) compiler guards 2018-10-03 13:04:22 +02:00
fshelper cargo fmt 2018-09-27 23:01:38 +02:00
lscolors Add exec tests and cfg(test) compiler guards 2018-10-03 13:04:22 +02:00
app.rs cargo fmt 2018-09-27 23:01:38 +02:00
exit_codes.rs Using wants_to_quit to exit the sender as well as the reciever (#211) 2018-01-03 09:26:11 +01:00
internal.rs Add exec tests and cfg(test) compiler guards 2018-10-03 13:04:22 +02:00
main.rs Rename error => print_error_and_exit and introduce print_error 2018-10-01 22:00:23 +02:00
output.rs Update for new rustfmt 2018-05-14 21:00:00 +02:00
walk.rs Rename error => print_error_and_exit and introduce print_error 2018-10-01 22:00:23 +02:00