Skip to content

Commit c15137e

Browse files
committed
C#: Update test expected output.
1 parent f42ae48 commit c15137e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

csharp/ql/test/query-tests/Bad Practices/Control-Flow/ConstantCondition/ConstantCondition.expected

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#select
12
| ConstantCondition.cs:38:18:38:29 | (...) ... | Expression is always 'null'. |
23
| ConstantCondition.cs:39:18:39:24 | (...) ... | Expression is never 'null'. |
34
| ConstantCondition.cs:46:17:46:26 | (...) ... | Expression is always 'null'. |
@@ -10,6 +11,10 @@
1011
| ConstantCondition.cs:95:13:95:13 | _ | Pattern always matches. |
1112
| ConstantCondition.cs:114:13:114:14 | access to parameter b1 | Condition always evaluates to 'true'. |
1213
| ConstantCondition.cs:114:19:114:20 | access to parameter b2 | Condition always evaluates to 'true'. |
14+
| ConstantCondition.cs:132:13:132:13 | _ | Pattern always matches. |
15+
| ConstantCondition.cs:141:22:141:22 | _ | Pattern always matches. |
16+
| ConstantCondition.cs:150:22:150:22 | _ | Pattern always matches. |
17+
| ConstantCondition.cs:152:22:152:22 | _ | Pattern always matches. |
1318
| ConstantConditionBad.cs:5:16:5:20 | ... > ... | Condition always evaluates to 'false'. |
1419
| ConstantConditionalExpressionCondition.cs:11:22:11:34 | ... == ... | Condition always evaluates to 'true'. |
1520
| ConstantConditionalExpressionCondition.cs:12:21:12:25 | false | Condition always evaluates to 'false'. |
@@ -28,3 +33,7 @@
2833
| ConstantWhileCondition.cs:12:20:12:32 | ... == ... | Condition always evaluates to 'true'. |
2934
| ConstantWhileCondition.cs:16:20:16:24 | false | Condition always evaluates to 'false'. |
3035
| ConstantWhileCondition.cs:24:20:24:29 | ... == ... | Condition always evaluates to 'true'. |
36+
testFailures
37+
| ConstantCondition.cs:132:13:132:13 | Pattern always matches. | Unexpected result: Alert |
38+
| ConstantCondition.cs:150:22:150:22 | Pattern always matches. | Unexpected result: Alert |
39+
| ConstantCondition.cs:152:22:152:22 | Pattern always matches. | Unexpected result: Alert |

0 commit comments

Comments
 (0)