mirror of
https://github.com/github/codeql.git
synced 2026-06-13 17:01:10 +02:00
First pass converting qlref tests to inline expectation with postprocess
This commit is contained in:
@@ -20,13 +20,13 @@ class StringComparison {
|
||||
if("".equals(variable))
|
||||
return;
|
||||
// NOT OK
|
||||
if("" == variable)
|
||||
if("" == variable) // $ Alert
|
||||
return;
|
||||
// NOT OK
|
||||
if("" == param)
|
||||
if("" == param) // $ Alert
|
||||
return;
|
||||
// NOT OK
|
||||
if("" == variable2)
|
||||
if("" == variable2) // $ Alert
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user