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

* tests/sanity/style.test: Allow {{x}} in constructors.

parent c87c13db
......@@ -245,7 +245,7 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do
# with parentheses, as this often occur with lambdas or
# initializer lists. What we want to forbid is cases where
# multiple scopes are opened/closed on the same line.
$GREP '^[^()]*}[^()]*}[^()]*$' $tmp &&
$GREP '^[^():]*}[^()]*}[^()]*$' $tmp &&
diag 'No two } on the same line.'
$GREP '^[^()]{[^()]*{[^()]$' $tmp &&
Supports Markdown
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