Skip to content

Commit 3775615

Browse files
committed
expect 1.0 to be "1.0"
1 parent fe88ca8 commit 3775615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/js_op.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ mod abstract_operations {
900900

901901
#[test]
902902
fn test_to_string_number() {
903-
assert_eq!(&to_string(&json!(1.0)), "1");
903+
assert_eq!(&to_string(&json!(1.0)), "1.0");
904904
assert_eq!(&to_string(&json!(1)), "1");
905905
}
906906

0 commit comments

Comments
 (0)