forked from sunng87/handlebars-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add a (failing) test using identifiers starting with numbers
These test cases capture the issue called out in sunng87#450. The handling of identifiers which start with numbers diverges from the official JavaScript implementation of Handlebars. It's especially bad for cases like `{{eq 1a}}`, which validly parses as `{{eq 1 a}}`!
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters