Fix punctuation match order and add tests
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 2 Jun 2015 06:08:02 +0000 (06:08 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 2 Jun 2015 06:08:02 +0000 (06:08 +0000)
Add explicit punctuation functional tests with a conversation
between the two test sessions, and fix a nondeterministic bug this
exposed. Punctuation is now matched in a sorted order rather than
arbitrary hash table lookup order, and the sort is reversed so that
the longest match always wins.


No differences found