| 1089 | } |
| 1090 | |
| 1091 | void |
| 1092 | testTrailingCommas() |
| 1093 | { |
| 1094 | parse_options enabled; |
| 1095 | enabled.allow_trailing_commas = true; |
| 1096 | |
| 1097 | grind("[1,]", enabled); |
| 1098 | grind("[1, 2,]", enabled); |
| 1099 | grind("{\"a\": 1,}", enabled); |
| 1100 | grind("{\"a\": 1, \"b\": 2,}", enabled); |
| 1101 | } |
| 1102 | |
| 1103 | void |
| 1104 | testComments() |
nothing calls this directly
no outgoing calls
no test coverage detected