mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Port config tests to littlecheck
This required a bit of thinking. What we do is we have one test that fakes $HOME, and then we do the various config tests there. The fake config we have is reused and we exercise all of the same codepaths.
This commit is contained in:
4
tests/checks/broken-config/fish/config.fish
Normal file
4
tests/checks/broken-config/fish/config.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
echo broken
|
||||
if status is-login
|
||||
syntax-error
|
||||
end
|
||||
Reference in New Issue
Block a user