Skip to content

Commit 938d003

Browse files
committed
Fix example to use space after $ for consistency
1 parent 25792b2 commit 938d003

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cpp/ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
*
6161
* Example:
6262
* ```cpp
63-
* int i = x + 5; // $const=5
64-
* int j = y + (7 - 3) // $const=7 const=3 const=4 // The result of the subtraction is a constant.
63+
* int i = x + 5; // $ const=5
64+
* int j = y + (7 - 3) // $ const=7 const=3 const=4 // The result of the subtraction is a constant.
6565
* ```
6666
*
6767
* For tests that contain known missing and spurious results, it is possible to further

java/ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
*
6161
* Example:
6262
* ```cpp
63-
* int i = x + 5; // $const=5
64-
* int j = y + (7 - 3) // $const=7 const=3 const=4 // The result of the subtraction is a constant.
63+
* int i = x + 5; // $ const=5
64+
* int j = y + (7 - 3) // $ const=7 const=3 const=4 // The result of the subtraction is a constant.
6565
* ```
6666
*
6767
* For tests that contain known missing and spurious results, it is possible to further

python/ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
*
6161
* Example:
6262
* ```cpp
63-
* int i = x + 5; // $const=5
64-
* int j = y + (7 - 3) // $const=7 const=3 const=4 // The result of the subtraction is a constant.
63+
* int i = x + 5; // $ const=5
64+
* int j = y + (7 - 3) // $ const=7 const=3 const=4 // The result of the subtraction is a constant.
6565
* ```
6666
*
6767
* For tests that contain known missing and spurious results, it is possible to further

0 commit comments

Comments
 (0)