We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ba9601 commit 7429434Copy full SHA for 7429434
1 file changed
shared/util/codeql/util/test/InlineExpectationsTest.qll
@@ -223,8 +223,7 @@ module Make<InlineExpectationsTestSig Impl> {
223
exists(ValidTestExpectation expectation |
224
not exists(ActualTestResult actualResult | expectation.matchesActualResult(actualResult)) and
225
expectation.getTag() = TestImpl::getARelevantTag() and
226
- element = expectation and
227
- not expectation.isOptional()
+ element = expectation
228
|
229
expectation instanceof GoodTestExpectation and
230
message = "Missing result: " + expectation.getExpectationText()
0 commit comments