mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-05 00:51:06 +00:00
Format Unexpected::Float with decimal point
This commit is contained in:
3 files changed
+36
-3
No files matched your search
@@ -1434,7 +1434,7 @@ fn test_number_from_string() {
|
||||
fn test_integer_from_float() {
|
||||
assert_de_tokens_error::<isize>(
|
||||
&[Token::F32(0.0)],
|
||||
"invalid type: floating point `0`, expected isize",
|
||||
"invalid type: floating point `0.0`, expected isize",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user