ruby / did_you_mean

The gem that has been saving people from typos since 2014
MIT License
1.87k stars 113 forks source link

Use assert_not_match "Did you mean?" for UncorrectableNameCheckTest #154

Closed mame closed 3 years ago

mame commented 3 years ago

... instead of exact matching. I'm now creating a built-in gem that modifies Exception's error message, so the expectation value is changed.

IMO, it is good to check that did_you_mean suggestion is NOT added in the uncorrectable case.