implement representation for json_bool
This commit is contained in:
@@ -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")
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user