We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1950fd3 commit 78b86caCopy full SHA for 78b86ca
shared/util/codeql/util/test/InlineExpectationsTest.qll
@@ -521,7 +521,7 @@ module Make<InlineExpectationsTestSig Impl> {
521
* is treated as part of the expected results, except that the comment may contain a `//` sequence
522
* to treat the remainder of the line as a regular (non-interpreted) comment.
523
*/
524
-private string expectationCommentPattern() { result = "\\s*\\$((?:[^/]|/[^/])*)(?://.*)?" }
+private string expectationCommentPattern() { result = "\\s+\\$ ((?:[^/]|/[^/])*)(?://.*)?" }
525
526
/**
527
* The possible columns in an expectation comment. The `TDefaultColumn` branch represents the first
0 commit comments