Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change Tokens to operate on a rune level
otherwise all utf8 characters have a "common prefix" which allowed one route to return a different one somehow. adds an explicit test for matching unicode, too. having this mixed in with the other test made things pretty difficult to debug
- Loading branch information
Showing
3 changed files
with
58 additions
and
10 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
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
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