bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tests: remove duplicates


From: Akim Demaille
Subject: tests: remove duplicates
Date: Thu, 14 Mar 2019 21:30:28 +0100

commit 9a71d9d1c67268be11e4d14aac7ec663977e4289
Author: Akim Demaille <address@hidden>
Date:   Wed Mar 13 08:20:43 2019 +0100

    tests: remove duplicates
    
    * tests/regression.at (Invalid inputs, Invalid inputs with {}):
    Remove, there are exact copies of them in input.at.

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.  ##
 ## ------------------- ##




reply via email to

[Prev in Thread] Current Thread [Next in Thread]