Skip to content

Commit

Permalink
Merge pull request #366 from FifthTry/AviralVerma13-testfix-1
Browse files Browse the repository at this point in the history
fixed to_json test in sorted_json.rs
  • Loading branch information
AviralVerma13 authored Aug 22, 2022
2 parents 6d5988a + 2ef062f commit 3527a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sorted_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ mod tests {
fn to_json() {
a(serde_json::json! {null}, "null");
a(serde_json::json! {1}, "1");
a(Value::Number(Number::from_f64(1.0).unwrap()), "1");
a(Value::Number(Number::from_f64(1.0).unwrap()), "1.0");
a(
Value::Number(Number::from_f64(-1.0002300e2).unwrap()),
"-100.023",
Expand Down

0 comments on commit 3527a22

Please sign in to comment.