parent
ba54298ade
commit
1902d9ed1e
@ -0,0 +1,31 @@
|
||||
From 742fde0dd68858ad603b449501f0c42cd7864fab Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Homborg <FHomborg@gmail.com>
|
||||
Date: Fri, 28 Dec 2018 17:57:53 +0100
|
||||
Subject: [PATCH] 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.
|
||||
---
|
||||
src/fish_tests.cpp | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp
|
||||
index f6094254..abe21a2e 100644
|
||||
--- a/src/fish_tests.cpp
|
||||
+++ b/src/fish_tests.cpp
|
||||
@@ -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},
|
||||
});
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (fish-2.7.1.tar.gz) = 45ee3453404c5d6c56d307b4cd19197de862f9f42d7fa06461acec56dea7146db5675cf6419dd5f72e939b3e4b1955d3761098df1de89a8cebe47645eb6f7a4b
|
||||
SHA512 (fish-3.0.0.tar.gz) = e4159821d4263e5afb67adee82e30cfed0ad30f3772dd95beb0df71423ff52c21354970f64967f2de9fd1d31caa702208cfd9f2ce281bbf33114f3aa7cd539a2
|
||||
|
Loading…
Reference in new issue