diff --git a/tests/torture.at b/tests/torture.at index b9032d0c..c02be2f5 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -51,7 +51,6 @@ print < #include -#include #define YYERROR_VERBOSE 1 #define YYDEBUG 1 @@ -76,8 +75,8 @@ for my $size (1 .. $max) print < #include -#include #define YYERROR_VERBOSE 1 #define YYDEBUG 1 @@ -272,7 +270,6 @@ print < #include -#include #define YYERROR_VERBOSE 1 #define YYDEBUG 1 @@ -303,17 +300,17 @@ for my $count (1 .. $max) print < #include -#include ]$1[ static int yylex (void); static void yyerror (const char *msg); @@ -423,7 +419,8 @@ yylex (void) int main (int argc, const char **argv) { - assert (argc == 2); + if (argc != 2) + abort (); yylval = atoi (argv[1]); yydebug = 1; return yyparse ();