summaryrefslogtreecommitdiff
path: root/tests/regression.at
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-03-13 08:20:43 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-03-13 08:21:34 +0100
commit9a71d9d1c67268be11e4d14aac7ec663977e4289 (patch)
treece07cc46ff6173405de58251720635efafecc8a3 /tests/regression.at
parentbb0310a35342d041055701ca0891f5a80e699763 (diff)
downloadbison-9a71d9d1c67268be11e4d14aac7ec663977e4289.tar.gz
tests: remove duplicates
* tests/regression.at (Invalid inputs, Invalid inputs with {}): Remove, there are exact copies of them in input.at.
Diffstat (limited to 'tests/regression.at')
-rw-r--r--tests/regression.at52
1 files changed, 0 insertions, 52 deletions
diff --git a/tests/regression.at b/tests/regression.at
index 9524fb58..abbafe49 100644
--- a/tests/regression.at
+++ b/tests/regression.at
@@ -362,58 +362,6 @@ AT_CLEANUP
-## ---------------- ##
-## Invalid inputs. ##
-## ---------------- ##
-
-
-AT_SETUP([Invalid inputs])
-
-AT_DATA([input.y],
-[[%%
-?
-default: 'a' }
-%&
-%a-does-not-exist
-%-
-%{
-]])
-
-AT_BISON_CHECK([input.y], [1], [],
-[[input.y:2.1: error: invalid character: '?'
-input.y:3.14: error: invalid character: '}'
-input.y:4.1: error: invalid character: '%'
-input.y:4.2: error: invalid character: '&'
-input.y:5.1-17: error: invalid directive: '%a-does-not-exist'
-input.y:6.1: error: invalid character: '%'
-input.y:6.2: error: invalid character: '-'
-input.y:7.1-8.0: error: missing '%}' at end of file
-input.y:7.1-8.0: error: syntax error, unexpected %{...%}
-]])
-
-AT_CLEANUP
-
-
-AT_SETUP([Invalid inputs with {}])
-
-AT_DATA([input.y],
-[[
-%destructor
-%initial-action
-%lex-param
-%parse-param
-%printer
-%union
-]])
-
-AT_BISON_CHECK([input.y], [1], [],
-[[input.y:3.1-15: error: syntax error, unexpected %initial-action, expecting {...}
-]])
-
-AT_CLEANUP
-
-
-
## ------------------- ##
## Token definitions. ##
## ------------------- ##