Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred committed Jan 8, 2025
1 parent b908863 commit 0795c13
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void undoNestedPhaseMove() {
// The objective is to simulate the reassignment of v1 from e1 to e2
// The R&R move analyzes only e1 initially,
// since it is impossible to know that v1 will be assigned to e2 during the nested CH phase
var v1 = new TestdataListValue("v1");
var v1 = new TestdataListValue("v1");
var v2 = new TestdataListValue("v2");
var e1 = new TestdataListEntity("e1", v1);
var e2 = new TestdataListEntity("e2", v2, v1);
Expand Down Expand Up @@ -266,8 +266,8 @@ void undoNestedPhaseMove() {
assertThat(undoMove.getVariableChangeActionList().stream().anyMatch(action -> {
if (action instanceof ListVariableBeforeChangeAction<?, ?, ?> beforeChangeAction) {
return beforeChangeAction.entity() == e2 && beforeChangeAction.fromIndex() == 0
&& beforeChangeAction.toIndex() == 1 && beforeChangeAction.oldValue().size() == 1
&& beforeChangeAction.oldValue().get(0).equals(v2);
&& beforeChangeAction.toIndex() == 1 && beforeChangeAction.oldValue().size() == 1
&& beforeChangeAction.oldValue().get(0).equals(v2);
}
return false;
})).isTrue();
Expand Down

0 comments on commit 0795c13

Please sign in to comment.