implement representation for json_bool

This commit is contained in:
Greg Shuflin
2023-02-25 03:27:32 -08:00
parent 5aca3912fc
commit 9a3745d25c
3 changed files with 75 additions and 2 deletions

View File

@@ -240,4 +240,8 @@ fn parse_json_document() {
#[test]
fn test_representations() {
assert_eq!(json_null().representation(), Representation::new("null"));
assert_eq!(
json_bool().representation(),
Representation::new("true | false")
);
}