Project

General

Profile

« Previous | Next » 

Revision 39f99b81

Added by mame (Yusuke Endoh) over 4 years ago

Use assert_not_match "Did you mean?" for UncorrectableNameCheckTest

... 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.

https://github.com/ruby/did_you_mean/commit/ebe88ec4d2