From 6a12b773609361e2743399cf6b4417c6f496dedf Mon Sep 17 00:00:00 2001 From: Etienne Renault Date: Tue, 9 Jun 2020 13:06:12 +0200 Subject: [PATCH] sanity: fixes #417 * tests/sanity/style.test: Here. --- tests/sanity/style.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/sanity/style.test b/tests/sanity/style.test index 3992d29d8..7af498c46 100755 --- a/tests/sanity/style.test +++ b/tests/sanity/style.test @@ -208,7 +208,8 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do # The 'r' allows operator&& # The '.' allows &&... - $GREP '[^ r]&&[^ .]' $tmp && + # The ')' allows foo(bar&&) + $GREP '[^ r]&&[^ .)]' $tmp && diag 'Space around binary operators.' # The 'r' allows operator||