From d8b955294a9ca5e1ffd6f3345fc57ef941bd2b0b Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 22 Aug 2014 11:53:20 -0700 Subject: [PATCH] Add a test for syntax highlighting pipes --- fish_tests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fish_tests.cpp b/fish_tests.cpp index bdf12af10..70337af12 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -3404,6 +3404,8 @@ static void test_highlighting(void) {L"ls", highlight_spec_command}, {L"param2", highlight_spec_param}, {L")", highlight_spec_operator}, + {L"|", highlight_spec_statement_terminator}, + {L"cat", highlight_spec_command}, {NULL, -1} };