Format Unexpected::Float with decimal point

This commit is contained in:
David Tolnay
2024-01-26 13:28:54 -08:00
parent b971ef11d1
commit bef110b92a
3 changed files with 36 additions and 3 deletions
+1 -1
View File
@@ -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",
);
}