diff --git a/tests/compiler.rs b/tests/compiler.rs index 8430821..d657a93 100644 --- a/tests/compiler.rs +++ b/tests/compiler.rs @@ -71,7 +71,7 @@ fn test_compile_nonstd() -> Result<(), Box> { }, "oneOf": [ { "$ref": "#a" }, - { "$ref": "http://temp.com/y" }, + { "$ref": "http://temp.com/y" } ] } } diff --git a/tests/examples.rs b/tests/examples.rs index daa56c4..c399c08 100644 --- a/tests/examples.rs +++ b/tests/examples.rs @@ -42,7 +42,7 @@ fn example_from_strings() -> Result<(), Box> { "oneOf": [ { "$ref": "dog.json" }, { "$ref": "cat.json" } - ], + ] }); let instance: Value = json!({"speak": "bow"});