From: Gabriel Marin Date: Sun, 22 Sep 2024 21:23:37 +0000 (+0300) Subject: test1185: Updated test data with NOSPACEC rule X-Git-Tag: curl-8_11_0~344 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7c9166c4c5de3996c9d5591106e5236c2808fd7;p=thirdparty%2Fcurl.git test1185: Updated test data with NOSPACEC rule Closes #14990 --- diff --git a/tests/data/test1185 b/tests/data/test1185 index a3ec33d46d..c3133aa23b 100644 --- a/tests/data/test1185 +++ b/tests/data/test1185 @@ -165,6 +165,12 @@ void startfunc(int a, int b) { ./%LOGDIR/code1185.c:53:10: warning: use of snprintf is banned (SNPRINTF) int a = snprintf(buffer, sizeof(buffer), "%d", 99); ^ +./%LOGDIR/code1185.c:54:21: warning: missing space before colon (NOSPACEC) + int moo = hej?wrong:a>b; + ^ +./%LOGDIR/code1185.c:54:22: warning: missing space after colon (NOSPACEC) + int moo = hej?wrong:a>b; + ^ ./%LOGDIR/code1185.c:54:15: warning: missing space before question mark (NOSPACEQ) int moo = hej?wrong:a>b; ^ @@ -195,7 +201,7 @@ void startfunc(int a, int b) { ./%LOGDIR/code1185.c:1:1: error: Missing closing comment (OPENCOMMENT) ^ -checksrc: 0 errors and 36 warnings +checksrc: 0 errors and 38 warnings 5