1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 09:41:07 +00:00
uutils-coreutils/tests
Mahmoud Soltan 9bc14a239c
Added support for ls -l --color to color symlink targets as well. (#2627)
* Fixed some documentation of display_item_long that was missed in #2623

* Implemented coloring of `ls -l` symlink targets( after the arrow `->`).

* Documented display_file_name to some extent.

* Ran rustfmt as part of mitigating CI chain errors.

* Removed unused variables and code in test_ls_long_format as per #2623

specifically, as per
https://github.com/uutils/coreutils/pull/2623#pullrequestreview-742386707

* Added a thorough test for `ls -laR --color` symlink coloring implemented in this branch.

* renamed test files and dirs to shorter names and ran rustfmt.

* Changed the order with which files are expected to match the change in their name.

* Bettered some comments.

* Removed needless borrow. Fixed that one clippy warning.

* Moved the cfg not windows up to the function level

because this function is meant to only run in non-windows OS (with
groups and unames).

Fixes the unused variable warning in CI.
2021-09-05 13:25:56 +02:00
..
benches/factor refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
by-util Added support for ls -l --color to color symlink targets as well. (#2627) 2021-09-05 13:25:56 +02:00
common pwd: Properly resolve logical working directory (#2604) 2021-08-28 22:31:20 +02:00
fixtures wc: Do a chunked read with proper UTF-8 handling 2021-08-26 01:38:16 +02:00
test_util_name.rs test_util_name: symlink the xecutable instead of copying 2021-08-20 00:20:56 +02:00
tests.rs tests ~ use build.rs build list of test_UTIL module files 2020-06-02 12:17:30 -05:00