* Add test * Add nonOctalDecimal verification * Update regex and code style * Refactor non octal detection * Add numeric separator test * Disallow numeric separators in non octals * Update whitelist * Better test naming * Disallow numeric separators in non oct for all numbers * Specific error above the general error * Add test for invalid leading zero in num separator * Add start position to error
2 lines
72 B
JSON
2 lines
72 B
JSON
{ "throws": "Numeric separator can not be used after leading 0 (1:1)" }
|