Python: Sync InlineExpectationsTest.qll between Python and C++ · github/codeql@dccbcc1 · GitHub
Skip to content

Commit dccbcc1

Browse files
committed
Python: Sync InlineExpectationsTest.qll between Python and C++
Also changes `valuesasas` to `values` in the test example.
1 parent e7322d1 commit dccbcc1

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

config/identical-files.json

Lines changed: 4 additions & 0 deletions

cpp/ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
* }
2929
*
3030
* override predicate hasActualResult(
31-
* Location location, string element, string tag, string valuesasas
31+
* Location location, string element, string tag, string values
3232
* ) {
3333
* exists(Expr e |
3434
* tag = "const" and // The tag for this test.
35-
* valuesasas = e.getValue() and // The expected value. Will only hold for constant expressions.
35+
* values = e.getValue() and // The expected value. Will only hold for constant expressions.
3636
* location = e.getLocation() and // The location of the result to be reported.
3737
* element = e.toString() // The display text for the result.
3838
* )

python/ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)