* src/sanity/style.test: Allow &&...
This commit is contained in:
parent
2f71741575
commit
f59773e3c7
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (C) 2009, 2010, 2011, 2012, 2013 Laboratoire de Recherche
|
# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Laboratoire de
|
||||||
# et Développement de l'Epita (LRDE).
|
# Recherche et Développement de l'Epita (LRDE).
|
||||||
# Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6
|
# Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6
|
||||||
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
|
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
|
||||||
# Pierre et Marie Curie.
|
# Pierre et Marie Curie.
|
||||||
|
|
@ -179,7 +179,8 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
||||||
diag 'Space after coma.'
|
diag 'Space after coma.'
|
||||||
|
|
||||||
# The 'r' allows operator&&
|
# The 'r' allows operator&&
|
||||||
grep '[^ r]&&[^ ]' $tmp &&
|
# The '.' allows &&...
|
||||||
|
grep '[^ r]&&[^ .]' $tmp &&
|
||||||
diag 'Space around binary operators.'
|
diag 'Space around binary operators.'
|
||||||
|
|
||||||
# The 'r' allows operator||
|
# The 'r' allows operator||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue