Skip to content

Commit a9aeecf

Browse files
committed
fix test to be false or null, not true
1 parent 4bd9b60 commit a9aeecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3271,7 +3271,7 @@ mod tests {
32713271
let output = simplify_with_guarantee(expr.clone(), &guarantees);
32723272
assert_eq!(output, lit(false));
32733273

3274-
// Guaranteed true or null -> no change.
3274+
// Guaranteed false or null -> no change.
32753275
let guarantees = vec![
32763276
(
32773277
col("c3"),
@@ -3283,7 +3283,7 @@ mod tests {
32833283
(
32843284
col("c4"),
32853285
NullableInterval {
3286-
values: Interval::make(Some(0_u32), Some(5_u32), (false, false)),
3286+
values: Interval::make(Some(9_u32), Some(9_u32), (false, false)),
32873287
is_valid: Interval::UNCERTAIN,
32883288
},
32893289
),

0 commit comments

Comments
 (0)