json_number test working

This commit is contained in:
Greg Shuflin
2023-02-26 03:52:19 -08:00
parent dfb151e2a3
commit 0d69aa81c1
7 changed files with 88 additions and 11 deletions

View File

@@ -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 | )+"));
}