mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-26 05:47:32 +00:00
Add test for multiple Git repositories
This commit is contained in:
parent
d86fc4286b
commit
be70fbdf98
9
xtests/git_both
Normal file
9
xtests/git_both
Normal file
@ -0,0 +1,9 @@
|
||||
/testcases/git/additions:
|
||||
.[1;33mr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[38;5;244m--[0m [1;32m20[0m cassowary [34m 1 Jan 12:34[0m [32mN[34mM[0m edited
|
||||
.[1;33mr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[38;5;244m--[0m [1;32m0[0m cassowary [34m 1 Jan 12:34[0m [32mN[38;5;244m-[0m staged
|
||||
.[1;33mr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[38;5;244m--[0m [1;32m0[0m cassowary [34m 1 Jan 12:34[0m [38;5;244m-[32mN[0m unstaged
|
||||
|
||||
/testcases/git/edits:
|
||||
.[1;33mr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[38;5;244m--[0m [1;32m20[0m cassowary [34m 1 Jan 12:34[0m [34mMM[0m both
|
||||
.[1;33mr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[38;5;244m--[0m [1;32m15[0m cassowary [34m 1 Jan 12:34[0m [34mM[38;5;244m-[0m staged
|
||||
.[1;33mr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[38;5;244m--[0m [1;32m20[0m cassowary [34m 1 Jan 12:34[0m [38;5;244m-[34mM[0m unstaged
|
@ -188,8 +188,9 @@ COLUMNS=80 $exa_binary --colour=never $testcases/file-names-exts | diff -q -
|
||||
|
||||
|
||||
# Git
|
||||
$exa $testcases/git/additions -l --git 2>&1 | diff -q - $results/git_additions || exit 1
|
||||
$exa $testcases/git/edits -l --git 2>&1 | diff -q - $results/git_edits || exit 1
|
||||
$exa $testcases/git/additions -l --git 2>&1 | diff -q - $results/git_additions || exit 1
|
||||
$exa $testcases/git/edits -l --git 2>&1 | diff -q - $results/git_edits || exit 1
|
||||
$exa $testcases/git/{additions,edits} -l --git 2>&1 | diff -q - $results/git_both || exit 1
|
||||
|
||||
|
||||
# Hidden files
|
||||
|
Loading…
Reference in New Issue
Block a user