mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Don't use less in highlighting test
It doesn't have to be installed. `cat` is in our dependencies, so we can assume it's there. Fixes #5436.
This commit is contained in:
parent
9e4ece8d89
commit
742fde0dd6
1 changed files with 2 additions and 1 deletions
|
@ -4243,7 +4243,8 @@ static void test_highlighting() {
|
|||
{L"cat", highlight_spec_command},
|
||||
{L"/dev/null", highlight_spec_param},
|
||||
{L"|", highlight_spec_statement_terminator},
|
||||
{L"less", highlight_spec_command},
|
||||
// This is bogus, but we used to use "less" here and that doesn't have to be installed.
|
||||
{L"cat", highlight_spec_command},
|
||||
{L"2>", highlight_spec_redirection},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue