json_number test working
This commit is contained in:
@@ -244,5 +244,5 @@ fn test_representations() {
|
||||
json_bool().representation(),
|
||||
Representation::new("true | false")
|
||||
);
|
||||
assert_eq!(json_number().representation(), Representation::new("null"));
|
||||
assert_eq!(json_number().representation(), Representation::new("- | ε (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | )+ . (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | )+ | ε | . (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | )+"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user