From c6f065f1d89b7f2f2e36b2eb431d8d7fc3f6ae0e Mon Sep 17 00:00:00 2001 From: NiumXp Date: Wed, 24 Jan 2024 01:52:11 -0300 Subject: [PATCH] fix tests about #470 --- .../samples/check_preprocessor_include.out | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/tests/rules/samples/check_preprocessor_include.out b/tests/rules/samples/check_preprocessor_include.out index f723e71a..3962a0d2 100644 --- a/tests/rules/samples/check_preprocessor_include.out +++ b/tests/rules/samples/check_preprocessor_include.out @@ -21,7 +21,27 @@ check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 11": check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 12": - + +check_preprocessor_include.c - IsEmptyLine In "GlobalScope" from "None" line 13": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 14": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 15": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 16": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 17": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 18": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 19": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 20": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 21": + +check_preprocessor_include.c - IsPreprocessorStatement In "GlobalScope" from "None" line 22": + check_preprocessor_include.c: Error! Error: INVALID_HEADER (line: 1, col: 1): Missing or invalid 42 header Error: INCLUDE_HEADER_ONLY (line: 2, col: 10): .c file includes are forbidden @@ -29,3 +49,12 @@ Error: INCLUDE_HEADER_ONLY (line: 3, col: 10): .c file includes are forbidde Error: CONSECUTIVE_NEWLINES (line: 5, col: 1): Consecutive newlines Error: INCLUDE_START_FILE (line: 8, col: 1): Include must be at the start of file Error: INCLUDE_START_FILE (line: 11, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 14, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 15, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 16, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 17, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 18, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 19, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 20, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 21, col: 1): Include must be at the start of file +Error: INCLUDE_START_FILE (line: 22, col: 1): Include must be at the start of file