tests: update test case for value stringification
This commit is contained in:
parent
14d432e817
commit
12488e23bf
1 changed files with 3 additions and 6 deletions
|
|
@ -531,12 +531,9 @@ mod tests {
|
||||||
fn test_value_stringification() {
|
fn test_value_stringification() {
|
||||||
let pairs = vec![
|
let pairs = vec![
|
||||||
(Value::Number(1.0), "Number(1)"),
|
(Value::Number(1.0), "Number(1)"),
|
||||||
(
|
(Value::String("hello".to_string()), "String(hello)"),
|
||||||
Value::String("hello".to_string()),
|
(Value::Int(123), "Int(123)"),
|
||||||
"Indexable(String(hello))",
|
(Value::Uuid(123), "Uuid(123)"),
|
||||||
),
|
|
||||||
(Value::Int(123), "Indexable(Int(123))"),
|
|
||||||
(Value::Uuid(123), "Indexable(Uuid(123))"),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
for (value, string) in pairs {
|
for (value, string) in pairs {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue