Skip to content

Commit

Permalink
make json literals valid json
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed Apr 23, 2024
1 parent c90a6f8 commit b325303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fn test_compile_nonstd() -> Result<(), Box<dyn Error>> {
},
"oneOf": [
{ "$ref": "#a" },
{ "$ref": "http://temp.com/y" },
{ "$ref": "http://temp.com/y" }
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn example_from_strings() -> Result<(), Box<dyn Error>> {
"oneOf": [
{ "$ref": "dog.json" },
{ "$ref": "cat.json" }
],
]
});
let instance: Value = json!({"speak": "bow"});

Expand Down

0 comments on commit b325303

Please sign in to comment.