()
| 1661 | |
| 1662 | #[test] |
| 1663 | fn test_split_binary_owned_different_op() { |
| 1664 | let expr = col("a").eq(lit(5)).or(col("b")); |
| 1665 | assert_eq!( |
| 1666 | // expr is connected by OR, but pass in AND |
| 1667 | split_binary_owned(expr.clone(), Operator::And), |
| 1668 | vec![expr] |
| 1669 | ); |
| 1670 | } |
| 1671 | |
| 1672 | #[test] |
| 1673 | fn test_split_conjunction_owned() { |