We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14c72de commit bc9fa6bCopy full SHA for bc9fa6b
1 file changed
swift/ql/lib/utils/test/internal/InlineExpectationsTestImpl.qll
@@ -15,7 +15,7 @@ module Impl implements InlineExpectationsTestSig {
15
ExpectationComment() { this = MkExpectationComment(comment) }
16
17
/** Returns the contents of the given comment, _without_ the preceding comment marker (`//`). */
18
- string getContents() { result = comment.getText().suffix(2) }
+ string getContents() { result = comment.getText().suffix(2).trim() }
19
20
/** Gets a textual representation of this element. */
21
string toString() { result = comment.toString() }
0 commit comments