diff --git a/tests/diagnostics.at b/tests/diagnostics.at
index 40480a59..f505c5d6 100644
--- a/tests/diagnostics.at
+++ b/tests/diagnostics.at
@@ -376,12 +376,10 @@ exp:^M
]],
[0],
[[input.y:11.9-11: warning: symbol FOO redeclared [-Wother]
- 11 | %token
- FOO
+ 11 | %token
FOO
| ^~~
input.y:10.9-11: note: previous declaration
- 10 | %token
- FOO
+ 10 | %token
FOO
| ^~~
input.y:13.5: warning: empty rule without %empty [-Wempty-rule]
13 | exp: