Skip to content

Commit 797e290

Browse files
committed
Python+CPP: Change values to value
1 parent dccbcc1 commit 797e290

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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 values
31+
* Location location, string element, string tag, string value
3232
* ) {
3333
* exists(Expr e |
3434
* tag = "const" and // The tag for this test.
35-
* values = e.getValue() and // The expected value. Will only hold for constant expressions.
35+
* value = 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
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 values
31+
* Location location, string element, string tag, string value
3232
* ) {
3333
* exists(Expr e |
3434
* tag = "const" and // The tag for this test.
35-
* values = e.getValue() and // The expected value. Will only hold for constant expressions.
35+
* value = 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
* )

0 commit comments

Comments
 (0)