From d7623f04f33b39e9645b61067f49856dbcd5047f Mon Sep 17 00:00:00 2001 From: Joao Duarte Date: Wed, 22 Nov 2023 22:01:15 -0300 Subject: [PATCH] refactor: Rename variable --- merge/src/unordered_merge.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/merge/src/unordered_merge.rs b/merge/src/unordered_merge.rs index f547171..72302b3 100644 --- a/merge/src/unordered_merge.rs +++ b/merge/src/unordered_merge.rs @@ -280,7 +280,7 @@ mod tests { ], }; - let right = CSTNode::NonTerminal { + let parent_b = CSTNode::NonTerminal { kind: "interface_body", start_position: model::Point { row: 0, column: 0 }, end_position: model::Point { row: 0, column: 0 }, @@ -319,7 +319,7 @@ mod tests { }; assert_merge_is_correct_and_idempotent_with_respect_to_parent_side( - &base, &parent_a, &right, &merge, + &base, &parent_a, &parent_b, &merge, ); }