We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de1efb1 commit 50b8eaeCopy full SHA for 50b8eae
1 file changed
src/ungron_test.rs
@@ -51,13 +51,13 @@ json.user.age = 30;"#;
51
fn test_numbers() {
52
let input = r#"json = {};
53
json.integer = 42;
54
-json.float = 3.14;
+json.float = 17.38;
55
json.negative = -5;"#;
56
57
let result = gron_to_json(input).unwrap();
58
let expected: JsonValue = serde_json::json!({
59
"integer": 42,
60
- "float": 3.14,
+ "float": 17.38,
61
"negative": -5
62
});
63
0 commit comments