|
|
|
@@ -32,7 +32,7 @@ fn test_with_str() { |
|
|
|
name: 3.14159, |
|
|
|
} |
|
|
|
.__str__(); |
|
|
|
// TOOD: Is this a good __str__ output? How can we better show it or should they be different? |
|
|
|
// TODO: Is this a good __str__ output? How can we better show it or should they be different? |
|
|
|
assert_eq!( |
|
|
|
"WithFields(dora: `299792458`, my: `Hello world`, name: `3.14159`)", |
|
|
|
&res |
|
|
|
@@ -47,7 +47,7 @@ fn test_with_repr() { |
|
|
|
name: 3.14159, |
|
|
|
} |
|
|
|
.__repr__(); |
|
|
|
// TOOD: Is this a good __repr__ output? How can we better show it or should they be different? |
|
|
|
// TODO: Is this a good __repr__ output? How can we better show it or should they be different? |
|
|
|
assert_eq!( |
|
|
|
"WithFields(dora: 299792458, my: \"Hello world\", name: 3.14159)", |
|
|
|
&res |
|
|
|
|