mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 22:04:16 +08: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
|
@ -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 New Issue
Block a user