From 12488e23bf0e5169fe5c323804b0a6d89796a927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20Moravec?= Date: Thu, 1 Feb 2024 21:46:26 +0100 Subject: [PATCH] tests: update test case for value stringification --- minisql/src/type_system.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/minisql/src/type_system.rs b/minisql/src/type_system.rs index 8dea3d0..0ed03f4 100644 --- a/minisql/src/type_system.rs +++ b/minisql/src/type_system.rs @@ -531,12 +531,9 @@ mod tests { fn test_value_stringification() { let pairs = vec![ (Value::Number(1.0), "Number(1)"), - ( - Value::String("hello".to_string()), - "Indexable(String(hello))", - ), - (Value::Int(123), "Indexable(Int(123))"), - (Value::Uuid(123), "Indexable(Uuid(123))"), + (Value::String("hello".to_string()), "String(hello)"), + (Value::Int(123), "Int(123)"), + (Value::Uuid(123), "Uuid(123)"), ]; for (value, string) in pairs {