Commit graph

32 commits

Author SHA1 Message Date
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