Tests: Improve check for member brace initialization.

This commit is contained in:
Wilson Snyder 2025-08-17 14:08:10 -04:00
parent f6edf26eb2
commit eaecdf7477
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ for filename in sorted(files.keys()):
check_pattern(
filename,
contents,
r'.*(\n *:|,\n) +m_[a-zA-Z0-9]+\(',
r'.*(\n *[:,]|,\n) +m_[a-zA-Z0-9]+\(',
# Ignore common m_e enum constructors
r'.*(Need \(\)|: m_e\()|V3OPTION_PARSER_DEF',
"Use brace instead of parenthesis-style constructors e.g. ': m_...{...}'")