From ce4d595fe5c40c7cad476c443a5b204055dc9cdc Mon Sep 17 00:00:00 2001 From: Eugene Tolbakov Date: Wed, 15 May 2024 09:40:50 +0100 Subject: [PATCH] chore: adjust the assertions according to changed implementation --- src/datatypes/src/value.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datatypes/src/value.rs b/src/datatypes/src/value.rs index 2b8d058f7520..cfeff152e2b3 100644 --- a/src/datatypes/src/value.rs +++ b/src/datatypes/src/value.rs @@ -2105,7 +2105,7 @@ mod tests { .unwrap() ); assert_eq!( - ScalarValue::LargeBinary(Some("world".as_bytes().to_vec())), + ScalarValue::Binary(Some("world".as_bytes().to_vec())), Value::Binary(Bytes::from("world".as_bytes())) .try_to_scalar_value(&ConcreteDataType::binary_datatype()) .unwrap() @@ -2187,7 +2187,7 @@ mod tests { .unwrap() ); assert_eq!( - ScalarValue::LargeBinary(None), + ScalarValue::Binary(None), Value::Null .try_to_scalar_value(&ConcreteDataType::binary_datatype()) .unwrap()