summaryrefslogtreecommitdiff
path: root/test/did_you_mean/spell_checking/test_uncorrectable_name_check.rb
AgeCommit message (Collapse)Author
2021-07-19[ruby/did_you_mean] Prevent "warning: ambiguity between regexp and two ↵Yusuke Endoh
divisions" ``` test/did_you_mean/spell_checking/test_uncorrectable_name_check.rb:13: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator ``` http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20210630T033005Z.log.html.gz#test-all https://github.com/ruby/did_you_mean/commit/842ede4186
2021-06-29Use assert_not_match "Did you mean?" for UncorrectableNameCheckTestYusuke Endoh
... 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
2019-11-30Promote did_you_mean to default gemKevin Deisz
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details. Notes: Merged: https://github.com/ruby/ruby/pull/2689