Skip to content

Commit 188235b

Browse files
committed
review suggestion
Signed-off-by: MBWhite <[email protected]>
1 parent 63cb78a commit 188235b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/substrait/src/logical_plan/producer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2430,7 +2430,7 @@ mod test {
24302430

24312431
match &expression.rex_type {
24322432
Some(RexType::Selection(field_ref)) => {
2433-
assert_ne!(field_ref.root_type, None);
2433+
assert_eq!(field_ref.root_type.clone().expect("root type should be set"), RootType::RootReference(RootReference {}));
24342434
}
24352435

24362436
_ => panic!("Should not be anything other than field reference"),

0 commit comments

Comments
 (0)