Skip to content

Commit 5b78caa

Browse files
committed
rename
1 parent 62a436f commit 5b78caa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

datafusion/optimizer/src/eliminate_limit.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ mod tests {
103103
use crate::push_down_limit::PushDownLimit;
104104
use datafusion_expr::test::function_stub::sum;
105105

106-
macro_rules! assert_optimized_plan_eq {
106+
macro_rules! assert_optimized_plan_equal {
107107
(
108108
$plan:expr,
109109
@ $expected:literal $(,)?
@@ -146,7 +146,7 @@ mod tests {
146146
.limit(0, Some(0))?
147147
.build()?;
148148
// No aggregate / scan / limit
149-
assert_optimized_plan_eq!(
149+
assert_optimized_plan_equal!(
150150
plan,
151151
@ r"EmptyRelation"
152152
)
@@ -165,7 +165,7 @@ mod tests {
165165
.build()?;
166166

167167
// Left side is removed
168-
assert_optimized_plan_eq!(
168+
assert_optimized_plan_equal!(
169169
plan,
170170
@ r"
171171
Union
@@ -226,7 +226,7 @@ mod tests {
226226
.limit(0, Some(1))?
227227
.build()?;
228228

229-
assert_optimized_plan_eq!(
229+
assert_optimized_plan_equal!(
230230
plan,
231231
@ r"
232232
Limit: skip=0, fetch=1
@@ -248,7 +248,7 @@ mod tests {
248248
.limit(3, Some(1))?
249249
.build()?;
250250

251-
assert_optimized_plan_eq!(
251+
assert_optimized_plan_equal!(
252252
plan,
253253
@ r"
254254
Limit: skip=3, fetch=1
@@ -274,7 +274,7 @@ mod tests {
274274
.limit(3, Some(1))?
275275
.build()?;
276276

277-
assert_optimized_plan_eq!(
277+
assert_optimized_plan_equal!(
278278
plan,
279279
@ r"
280280
Limit: skip=3, fetch=1
@@ -294,7 +294,7 @@ mod tests {
294294
.limit(0, None)?
295295
.build()?;
296296

297-
assert_optimized_plan_eq!(
297+
assert_optimized_plan_equal!(
298298
plan,
299299
@ r"
300300
Aggregate: groupBy=[[test.a]], aggr=[[sum(test.b)]]

0 commit comments

Comments
 (0)