tests: update test case for value stringification

This commit is contained in:
Jindřich Moravec 2024-02-01 21:46:26 +01:00
parent 14d432e817
commit 12488e23bf

View file

@ -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 {