Thayne McCombs
6e5c8d9c20
Fix some clippy warnings
2022-03-04 08:30:41 +01:00
Alexandru Macovei
4f4330167a
Fix some clippy lints, and format
2020-05-01 14:08:53 +02:00
sharkdp
95eae00126
Fix test on Windows
2020-04-04 18:46:08 +02:00
sharkdp
7e3c69c096
Reimplement dirname, basename, remove_extension for OsStr
2020-04-04 18:46:08 +02:00
sharkdp
4274075f6f
Remove outdated license headers (not strictly required by Apache-2.0)
2020-04-03 10:19:13 +02:00
Alexandru Macovei
d8bd5f9d51
macronize repetitive tests in exec/input
2019-01-26 16:15:48 +01:00
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
sharkdp
a5f5ad6254
Re-enable code style check
2018-01-01 16:00:32 +01:00
Matthias Reitinger
18709b1ede
Remove shell with --exec
2017-11-15 23:18:36 +01:00
J.W
614f576c47
Add TODOs and FIXMEs about Windows
2017-10-26 20:56:32 +02:00
J.W
dc29ef70c4
Fix Input::remove_extension and Input::dirname
2017-10-26 20:56:32 +02:00
J.W
6b232a82ee
Fix --exec
2017-10-26 20:56:32 +02:00
Antti Keränen
701b8f209b
Relicense under MIT/Apache-2.0
2017-10-22 10:36:42 +02:00
Michael Aaron Murphy
6a01faf6e1
Escape exec Inputs
2017-10-21 00:29:46 +02:00