Skip to content

Commit 2498fbc

Browse files
Copilotnunoplopes
andauthored
Format KW macro keyword invocations onto separate lines in reserved_keywords unit test (#18)
The `KW` macro in `tests/unit/reserved_keywords.cpp` had multiple `X(...)` invocations compressed onto one line. This updates the definition to use one invocation per line, matching the surrounding style. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Nuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
1 parent d0495a5 commit 2498fbc

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tests/unit/reserved_keywords.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@
3333
X(final) \
3434
X(gen) \
3535
X(macro) \
36-
X(override) X(priv) X(unsized) X(yield) X(macro_rules) X(raw) X(safe) X(vec)
36+
X(override) \
37+
X(priv) \
38+
X(unsized) \
39+
X(yield) \
40+
X(macro_rules) \
41+
X(raw) \
42+
X(safe) \
43+
X(vec)
3744

3845
// Field declaration
3946
#define F(n) int n;

0 commit comments

Comments
 (0)