Verify control-flow invariants and document the development contract
This commit is contained in:
1 parent
71d29261a8
commit
1dc088b602
22 files changed
+269
-80
No files matched your search
@@ -437,6 +437,7 @@ fn multi_arm_branch_preserves_analysis_v2_and_carrier_positions() {
|
||||
"`if 数值 < 0`",
|
||||
"**else if 数值 == 0**",
|
||||
"*else if 数值 == 1*",
|
||||
"`else`",
|
||||
]) {
|
||||
let start = source.find(carrier).unwrap();
|
||||
let expected = serde_json::json!({"start": start, "end": start + carrier.len()});
|
||||
|
||||
Reference in new issue
Block a user