Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Asger F
2026-06-30 15:48:15 +02:00
committed by GitHub
parent a43c5cee61
commit a9617f18a1

View File

@@ -4,7 +4,7 @@ private import codeql.util.test.InlineExpectationsTest
module Impl implements InlineExpectationsTestSig {
class ExpectationComment extends U::Comment {
/** Gets the contents of the given comment, _without_ the preceding comment marker (`//`). */
/** Gets the text inside this comment, without the surrounding comment delimiters. */
string getContents() { result = this.getCommentText() }
}