summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-07-14 06:47:40 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-07-14 06:48:48 +0200
commitcc11bb037cc8a678e5ab069870c331c89c4cd3cb (patch)
tree8c58f877ecc42f0842fcbec5312f635fcad9ff1c
parent121dd985087a13537a3464932b797f5923bfd61e (diff)
downloadbison-cc11bb037cc8a678e5ab069870c331c89c4cd3cb.tar.gz
tests: fix expectations
Broken in ee86ea88399ed02243fbceb2704c9ea322a12bf9. * tests/diagnostics.at: here.
-rw-r--r--tests/diagnostics.at6
1 files changed, 2 insertions, 4 deletions
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>warning:</warning> symbol FOO redeclared [<warning>-Wother</warning>]
- 11 | %token
- <warning>FOO</warning>
+ 11 | %token <warning>FOO</warning>
| <warning>^~~</warning>
input.y:10.9-11: <note>note:</note> previous declaration
- 10 | %token
- <note>FOO</note>
+ 10 | %token <note>FOO</note>
| <note>^~~</note>
input.y:13.5: <warning>warning:</warning> empty rule without %empty [<warning>-Wempty-rule</warning>]
13 | exp: