Abin Simon
f1254a6b0c
Fix some flaky integration tests
2022-03-21 09:34:35 +05:30
Abin Simon
019e8e424f
Don't automatically dereference symlinks in tree/recursive
2022-03-15 19:56:06 +08:00
Gasu16
3a28c71cfe
retrigger tests for issue #582
2021-11-26 11:21:05 +08:00
Gasu16
c49a67085a
Resolving issue #582
2021-11-26 11:21:05 +08:00
Gasu16
0d8743cd87
Resolving conflict in issue #582
2021-11-26 11:21:05 +08:00
Arkadiusz Bielewicz
b3a1dee4c6
#532 Improve date format validation to include all supported cases | fmt applied
2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
8037d5f4ce
#532 Improve date format validation to include all supported cases | Added missing valid cases
2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
1363945fd8
#532 Improve date format validation to include all supported cases | Formatting, test added
2021-10-14 05:43:31 +00:00
Abin Simon
682a80d866
Remove unnecessary use of read_link
2021-08-15 22:48:56 +05:30
Fabricio Dematte
bfc2bbdeae
add custom config file test
2021-06-11 09:57:41 +05:30
zwPapEr
72548161a8
display/tree: 🔍 🔨 fix test to fit new tree display
...
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
072a9bd756
display/tree: 🔍 ✨ add test and changelog for show edge before name
...
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
Abin Simon
24e6335e0a
Fix sorting with almost-all flag and a folder
...
With a folder structure (a folder `z` with a file `a`), if we do `lsd
-a` it used to be:
. a ..
instead of
. .. a
This was caused to the the parent meta having full path and us using
z/.. to sort .. entry. This should now be fixed with manually changing
the name to a .. .
2021-02-15 09:35:14 +05:30
zwPapEr
0ca699ee2f
display/tree: 🔍 ✨ add test for tree with all not show self
...
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-02-15 09:33:59 +05:30
Sophie Tauchert
baa4b0cd1a
Fix varying output lengths of inodes in integration test again
2021-01-14 22:24:26 +05:30
Sophie Tauchert
aa469408db
Fix varying output lengths of inodes in integration test
2021-01-14 22:24:26 +05:30
Abin Simon
c089af22ab
respect blocks passed without long from cli
...
When reading from config, we do not take into consideration the value
of blocks until we pass -l in the cli args, but if the user passes
in blocks via the cli, the -l flag is implied.
2021-01-01 13:26:06 +05:30
AJ ONeal
760d5c7538
add tree test
2020-12-11 16:43:45 +05:30
Jay
c67c639327
Implement lsd --tree -d
...
This commit implements the `-d` option in combination with `--tree` to mimic `tree -d` behaviour. There are also changes to the behaviour of `--tree` and `-R` such that they follow the same behaviour as `tree -d` and `ls -R` i.e. not follwoing symlinked directories unless the `-L` flag is specified.
2020-12-11 16:43:45 +05:30
Peter Stewart
68cd59840e
Add tests for icons
2020-11-09 12:19:41 +05:30
Jay
8ed0611bf8
remove unneeded cfg(test)
2020-10-28 22:43:11 +05:30
Jay
470e24b683
fix wsl tests
2020-10-28 22:43:11 +05:30
Jay
27183c2b1f
readd removed line
2020-10-28 22:43:11 +05:30
Jay
f7d5e917c2
revert to linux only test
...
mac cannot create a file with invalid utf8, windows deals with invalid chars on reading file name
2020-10-28 22:43:11 +05:30
Jay
ae5202944f
fix bad utf8 on windows
2020-10-28 22:43:11 +05:30
Jay
11c44dd3a0
remove mac from utf8
2020-10-28 22:43:11 +05:30
Jay
d272f1023e
remove test
2020-10-28 22:43:11 +05:30
Jay
f8a3820583
separate branches
2020-10-28 22:43:11 +05:30
Jay
e9d50a9897
remove typo
2020-10-28 22:43:11 +05:30
Jay
71e020b8d1
run tests on windows/mac too
2020-10-28 22:43:11 +05:30
Jay
7c971e7f3a
change macro to function in test
...
tidy up macro
reduce reallocations
macro to function
tidy w/ import
add EOL
2020-10-18 10:51:26 +05:30
Jay
b21a44fea5
fix test
2020-10-18 10:51:26 +05:30
zwPapEr
2ebed2261f
test: 🔍 use python to create a bad extension
2020-10-18 10:51:26 +05:30
Kai Moschcau
1bebe5b7c6
Reword ignore config option
2020-10-02 10:08:37 +05:30
Kai Moschcau
55a96a114d
Add ability to configure default options with file
...
# Conflicts:
# Cargo.lock
# Cargo.toml
# README.md
# src/app.rs
# src/core.rs
# src/display.rs
# src/flags.rs
# src/meta/mod.rs
# src/sort.rs
# tests/integration.rs
2020-10-02 10:08:37 +05:30
zwPapEr
16f1b1ce7c
sort: ✨ add version sort
...
fix https://github.com/Peltoche/lsd/issues/394
2020-09-19 15:37:47 +05:30
Abin Simon
5c128780f1
fix long listing for symlinkd dirs
2020-08-29 17:13:35 +05:30
Abin Simon
cffda506f1
show contents for symlink folders( fix #345 )
2020-08-29 17:13:35 +05:30
Abin Simon
e09bcc2b77
add tests for no symlink on grid
2020-08-21 23:40:44 +05:30
zwPapEr
faea1c0051
arg: ✨ add support for dereference
2020-08-21 23:27:12 +05:30
zwPapEr
645be4a668
delete fs canonicalize for show broken softlink without error
...
fix https://github.com/Peltoche/lsd/issues/72
2020-04-07 12:25:11 +05:30
zwPapEr
7ca7290e23
args/inode: 🔨 inode work with long
2020-01-11 14:17:44 +05:30
zwPapEr
74660f1d70
test: add inode args integration test
2020-01-11 14:17:44 +05:30
zwPapEr
d9b68ccd10
test: 🔨 fix test after delete default, add inode windows test
2020-01-11 14:17:44 +05:30
zwPapEr
da2e2081e3
test: 🎨 fix clippy style and tests, add an inode test
...
inode: 🔨 only get inode on unix, return 0 for windows
2020-01-11 14:17:44 +05:30
Gavin Panella
5ca44beaf9
Basic integration tests, to demonstrate one possible approach.
2019-10-11 15:08:11 +02:00