Skip to content

Commit e6e4ff1

Browse files
committed
Rust: Accept changes to expected files
1 parent 0f627ae commit e6e4ff1

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

rust/ql/test/library-tests/controlflow/BasicBlocks.expected

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -696,16 +696,16 @@ dominates
696696
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:441:9:444:9 | match a { ... } |
697697
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:442:21:442:21 | 3 |
698698
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:443:13:443:22 | Some(...) |
699-
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:443:13:443:36 | [match(true)] ... \| ... |
699+
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:443:13:443:36 | ... \| ... |
700700
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:443:18:443:21 | true |
701701
| test.rs:440:5:445:5 | enter fn or_pattern_2 | test.rs:443:26:443:36 | Some(...) |
702702
| test.rs:441:9:444:9 | match a { ... } | test.rs:441:9:444:9 | match a { ... } |
703703
| test.rs:442:21:442:21 | 3 | test.rs:442:21:442:21 | 3 |
704704
| test.rs:443:13:443:22 | Some(...) | test.rs:443:13:443:22 | Some(...) |
705-
| test.rs:443:13:443:22 | Some(...) | test.rs:443:13:443:36 | [match(true)] ... \| ... |
705+
| test.rs:443:13:443:22 | Some(...) | test.rs:443:13:443:36 | ... \| ... |
706706
| test.rs:443:13:443:22 | Some(...) | test.rs:443:18:443:21 | true |
707707
| test.rs:443:13:443:22 | Some(...) | test.rs:443:26:443:36 | Some(...) |
708-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:13:443:36 | [match(true)] ... \| ... |
708+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:13:443:36 | ... \| ... |
709709
| test.rs:443:18:443:21 | true | test.rs:443:18:443:21 | true |
710710
| test.rs:443:26:443:36 | Some(...) | test.rs:443:26:443:36 | Some(...) |
711711
| test.rs:453:5:458:5 | enter fn or_pattern_3 | test.rs:453:5:458:5 | enter fn or_pattern_3 |
@@ -1405,15 +1405,15 @@ postDominance
14051405
| test.rs:441:9:444:9 | match a { ... } | test.rs:441:9:444:9 | match a { ... } |
14061406
| test.rs:441:9:444:9 | match a { ... } | test.rs:442:21:442:21 | 3 |
14071407
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:13:443:22 | Some(...) |
1408-
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:13:443:36 | [match(true)] ... \| ... |
1408+
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:13:443:36 | ... \| ... |
14091409
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:18:443:21 | true |
14101410
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:26:443:36 | Some(...) |
14111411
| test.rs:442:21:442:21 | 3 | test.rs:442:21:442:21 | 3 |
14121412
| test.rs:443:13:443:22 | Some(...) | test.rs:443:13:443:22 | Some(...) |
1413-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:13:443:22 | Some(...) |
1414-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:13:443:36 | [match(true)] ... \| ... |
1415-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:18:443:21 | true |
1416-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:26:443:36 | Some(...) |
1413+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:13:443:22 | Some(...) |
1414+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:13:443:36 | ... \| ... |
1415+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:18:443:21 | true |
1416+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:26:443:36 | Some(...) |
14171417
| test.rs:443:18:443:21 | true | test.rs:443:18:443:21 | true |
14181418
| test.rs:443:26:443:36 | Some(...) | test.rs:443:26:443:36 | Some(...) |
14191419
| test.rs:453:5:458:5 | enter fn or_pattern_3 | test.rs:453:5:458:5 | enter fn or_pattern_3 |
@@ -1746,7 +1746,7 @@ immediateDominator
17461746
| test.rs:441:9:444:9 | match a { ... } | test.rs:440:5:445:5 | enter fn or_pattern_2 |
17471747
| test.rs:442:21:442:21 | 3 | test.rs:440:5:445:5 | enter fn or_pattern_2 |
17481748
| test.rs:443:13:443:22 | Some(...) | test.rs:440:5:445:5 | enter fn or_pattern_2 |
1749-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:13:443:22 | Some(...) |
1749+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:13:443:22 | Some(...) |
17501750
| test.rs:443:18:443:21 | true | test.rs:443:13:443:22 | Some(...) |
17511751
| test.rs:443:26:443:36 | Some(...) | test.rs:443:13:443:22 | Some(...) |
17521752
| test.rs:454:9:457:9 | match a { ... } | test.rs:453:5:458:5 | enter fn or_pattern_3 |
@@ -2300,9 +2300,9 @@ joinBlockPredecessor
23002300
| test.rs:435:13:435:21 | [match(true)] 0 \| 1 \| 2 | test.rs:435:17:435:17 | 1 | 0 |
23012301
| test.rs:435:13:435:21 | [match(true)] 0 \| 1 \| 2 | test.rs:435:21:435:21 | 2 | 1 |
23022302
| test.rs:441:9:444:9 | match a { ... } | test.rs:442:21:442:21 | 3 | 0 |
2303-
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:13:443:36 | [match(true)] ... \| ... | 1 |
2304-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:18:443:21 | true | 0 |
2305-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:26:443:36 | Some(...) | 1 |
2303+
| test.rs:441:9:444:9 | match a { ... } | test.rs:443:13:443:36 | ... \| ... | 1 |
2304+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:18:443:21 | true | 0 |
2305+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:26:443:36 | Some(...) | 1 |
23062306
| test.rs:443:26:443:36 | Some(...) | test.rs:443:13:443:22 | Some(...) | 1 |
23072307
| test.rs:443:26:443:36 | Some(...) | test.rs:443:18:443:21 | true | 0 |
23082308
| test.rs:454:9:457:9 | match a { ... } | test.rs:455:30:455:30 | 3 | 0 |

rust/ql/test/library-tests/controlflow/Cfg.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,12 +1116,12 @@ edges
11161116
| test.rs:442:21:442:21 | 3 | test.rs:441:9:444:9 | match a { ... } | |
11171117
| test.rs:443:13:443:22 | Some(...) | test.rs:443:18:443:21 | true | match |
11181118
| test.rs:443:13:443:22 | Some(...) | test.rs:443:26:443:36 | Some(...) | no-match |
1119-
| test.rs:443:13:443:36 | [match(true)] ... \| ... | test.rs:443:41:443:41 | 4 | match |
1120-
| test.rs:443:18:443:21 | true | test.rs:443:13:443:36 | [match(true)] ... \| ... | match |
1119+
| test.rs:443:13:443:36 | ... \| ... | test.rs:443:41:443:41 | 4 | match |
1120+
| test.rs:443:18:443:21 | true | test.rs:443:13:443:36 | ... \| ... | match |
11211121
| test.rs:443:18:443:21 | true | test.rs:443:18:443:21 | true | |
11221122
| test.rs:443:18:443:21 | true | test.rs:443:26:443:36 | Some(...) | no-match |
11231123
| test.rs:443:26:443:36 | Some(...) | test.rs:443:31:443:35 | false | match |
1124-
| test.rs:443:31:443:35 | false | test.rs:443:13:443:36 | [match(true)] ... \| ... | match |
1124+
| test.rs:443:31:443:35 | false | test.rs:443:13:443:36 | ... \| ... | match |
11251125
| test.rs:443:31:443:35 | false | test.rs:443:31:443:35 | false | |
11261126
| test.rs:443:41:443:41 | 4 | test.rs:441:9:444:9 | match a { ... } | |
11271127
| test.rs:453:5:458:5 | enter fn or_pattern_3 | test.rs:453:21:453:21 | a | |

0 commit comments

Comments
 (0)