aboutsummaryrefslogtreecommitdiffstats
path: root/executor/style_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-11-26 10:59:51 +0100
committerDmitry Vyukov <dvyukov@google.com>2024-11-26 11:09:17 +0000
commitee69c8253b97c2faef05d0d4245cb7aa8155f4c6 (patch)
treed61ff69b373271be780462dd78a88552a1c46a9a /executor/style_test.go
parente9a9a9f23f2a13f697d9d9572d2d4a34369a0068 (diff)
executor: add Glob test
Diffstat (limited to 'executor/style_test.go')
-rw-r--r--executor/style_test.go2
1 files changed, 1 insertions, 1 deletions
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 */`,