Skip to content

Commit 5c7c069

Browse files
committed
fix: consistent variable naming
Signed-off-by: Niels Pardon <par@zurich.ibm.com>
1 parent 871f0ed commit 5c7c069

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

core/src/test/java/io/substrait/relation/AggregateRelTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@ void testDeprecatedGroupingExpressionConversion() {
9595
Rel roundtripRel = relProtoConverter.visit(agg, EmptyVisitationContext.INSTANCE);
9696
assertTrue(roundtripRel.hasAggregate());
9797

98-
AggregateRel roundtripAggr = roundtripRel.getAggregate();
99-
assertEquals(1, roundtripAggr.getGroupingsCount(), "grouping count should be 1");
98+
AggregateRel roundtripAgg = roundtripRel.getAggregate();
99+
assertEquals(1, roundtripAgg.getGroupingsCount(), "grouping count should be 1");
100100
assertEquals(
101101
2,
102-
roundtripAggr.getGroupingExpressionsCount(),
102+
roundtripAgg.getGroupingExpressionsCount(),
103103
"grouping expressions count of aggregate should be 2");
104104
assertEquals(
105105
0,
106-
roundtripAggr.getGroupings(0).getGroupingExpressionsCount(),
106+
roundtripAgg.getGroupings(0).getGroupingExpressionsCount(),
107107
"grouping expressions count of grouping should be 0");
108108
assertEquals(
109109
2,
110-
roundtripAggr.getGroupings(0).getExpressionReferencesCount(),
110+
roundtripAgg.getGroupings(0).getExpressionReferencesCount(),
111111
"expression reference count of grouping should be 2");
112112
}
113113

0 commit comments

Comments
 (0)