From ee69c8253b97c2faef05d0d4245cb7aa8155f4c6 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 26 Nov 2024 10:59:51 +0100 Subject: executor: add Glob test --- executor/style_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/style_test.go') diff --git a/executor/style_test.go b/executor/style_test.go index 7c32d4d10..ae3e9421b 100644 --- a/executor/style_test.go +++ b/executor/style_test.go @@ -54,7 +54,7 @@ if (foo) { }, { // These are also not properly stripped by pkg/csource. - pattern: `/\*[^{]`, + pattern: `/\*[^{/"]`, message: "Don't use /* */ block comments. Use // line comments instead", tests: []string{ `/* C++ comment */`, -- cgit mrf-deployment