mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-16 01:07:09 +00:00
Add tests
This commit is contained in:
parent
2708360fb5
commit
c8ed69368e
6
xtests/outputs/exts_grid_sort_name_reverse.ansitxt
Normal file
6
xtests/outputs/exts_grid_sort_name_reverse.ansitxt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[38;5;135mvideo.wmv[0m [38;5;93mlossless.flac[0m [38;5;109mcrypto.signature[0m [31mcompressed.tar.gz[0m [38;5;244mbackup~[0m
|
||||||
|
[38;5;135mVIDEO.AVI[0m [38;5;133mimage.svg[0m [38;5;109mcrypto.asc[0m [31mcompressed.deb[0m [38;5;244m#SAVEFILE#[0m
|
||||||
|
[38;5;92mMUSIC.OGG[0m [38;5;133mIMAGE.PNG[0m [31mCOMPRESSED.ZIP[0m [38;5;137mcompiled.o[0m
|
||||||
|
[38;5;92mmusic.mp3[0m [38;5;244mfile.tmp[0m [31mcompressed.txz[0m [38;5;137mcompiled.js[0m
|
||||||
|
[1;4;33mMakefile[0m [38;5;105mDOCUMENT.XLSX[0m [31mcompressed.tgz[0m compiled.coffee
|
||||||
|
[38;5;93mlossless.wav[0m [38;5;105mdocument.pdf[0m [31mcompressed.tar.xz[0m [38;5;137mcompiled.class[0m
|
26
xtests/outputs/exts_oneline_sort_name_reverse.ansitxt
Normal file
26
xtests/outputs/exts_oneline_sort_name_reverse.ansitxt
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
[38;5;135mvideo.wmv[0m
|
||||||
|
[38;5;135mVIDEO.AVI[0m
|
||||||
|
[38;5;92mMUSIC.OGG[0m
|
||||||
|
[38;5;92mmusic.mp3[0m
|
||||||
|
[1;4;33mMakefile[0m
|
||||||
|
[38;5;93mlossless.wav[0m
|
||||||
|
[38;5;93mlossless.flac[0m
|
||||||
|
[38;5;133mimage.svg[0m
|
||||||
|
[38;5;133mIMAGE.PNG[0m
|
||||||
|
[38;5;244mfile.tmp[0m
|
||||||
|
[38;5;105mDOCUMENT.XLSX[0m
|
||||||
|
[38;5;105mdocument.pdf[0m
|
||||||
|
[38;5;109mcrypto.signature[0m
|
||||||
|
[38;5;109mcrypto.asc[0m
|
||||||
|
[31mCOMPRESSED.ZIP[0m
|
||||||
|
[31mcompressed.txz[0m
|
||||||
|
[31mcompressed.tgz[0m
|
||||||
|
[31mcompressed.tar.xz[0m
|
||||||
|
[31mcompressed.tar.gz[0m
|
||||||
|
[31mcompressed.deb[0m
|
||||||
|
[38;5;137mcompiled.o[0m
|
||||||
|
[38;5;137mcompiled.js[0m
|
||||||
|
compiled.coffee
|
||||||
|
[38;5;137mcompiled.class[0m
|
||||||
|
[38;5;244mbackup~[0m
|
||||||
|
[38;5;244m#SAVEFILE#[0m
|
@ -136,3 +136,22 @@ stdout = { string = "plum\npear\npeach" }
|
|||||||
stderr = { empty = true }
|
stderr = { empty = true }
|
||||||
status = 0
|
status = 0
|
||||||
tags = [ 'oneline', 'sort', 'dates' ]
|
tags = [ 'oneline', 'sort', 'dates' ]
|
||||||
|
|
||||||
|
# sorting with arguments specified
|
||||||
|
|
||||||
|
[[cmd]]
|
||||||
|
name = "‘exa -Gr --sort=name *’ sorts by file name in reverse order"
|
||||||
|
shell = "exa -Gr --sort=name /testcases/file-names-exts/*"
|
||||||
|
environment = { COLUMNS = "80" }
|
||||||
|
stdout = { file = "outputs/exts_grid_sort_name_reverse.ansitxt" }
|
||||||
|
stderr = { empty = true }
|
||||||
|
status = 0
|
||||||
|
tags = [ 'grid', 'sort', 'reverse' ]
|
||||||
|
|
||||||
|
[[cmd]]
|
||||||
|
name = "‘exa -1r --sort=name *’ sorts by file name in reverse order"
|
||||||
|
shell = "exa -1r --sort=name /testcases/file-name-exts/*"
|
||||||
|
stdout = { file = "outputs/exts_oneline_sort_name_reverse.ansitxt" }
|
||||||
|
stderr = { empty = true }
|
||||||
|
status = 0
|
||||||
|
tags = [ 'oneline', 'sort', 'reverse' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user