Merge pull request #4152 from tausbn/python-sync-inline-test-expectations-files

Python: Sync InlineExpectationsTest.qll between Python and C++
This commit is contained in:
Rasmus Wriedt Larsen
2020-08-27 16:23:08 +02:00
committed by GitHub
3 changed files with 8 additions and 4 deletions

View File

@@ -28,11 +28,11 @@
* }
*
* override predicate hasActualResult(
* Location location, string element, string tag, string valuesasas
* Location location, string element, string tag, string value
* ) {
* exists(Expr e |
* tag = "const" and // The tag for this test.
* valuesasas = e.getValue() and // The expected value. Will only hold for constant expressions.
* value = e.getValue() and // The expected value. Will only hold for constant expressions.
* location = e.getLocation() and // The location of the result to be reported.
* element = e.toString() // The display text for the result.
* )