Commit f59773e3 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/sanity/style.test: Allow &&...

parent 2f717415
#! /bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2009, 2010, 2011, 2012, 2013 Laboratoire de Recherche
# et Développement de l'Epita (LRDE).
# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Laboratoire de
# Recherche et Développement de l'Epita (LRDE).
# Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
# Pierre et Marie Curie.
......@@ -179,7 +179,8 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
diag 'Space after coma.'
# The 'r' allows operator&&
grep '[^ r]&&[^ ]' $tmp &&
# The '.' allows &&...
grep '[^ r]&&[^ .]' $tmp &&
diag 'Space around binary operators.'
# The 'r' allows operator||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment