diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-08-20 16:23:43 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-08-20 16:27:07 +0900 |
commit | 5e9598baea97c53757f12713bacc7f19f315c846 (patch) | |
tree | fd4f1ac580cc442a764f77cc64be16284ac7a099 /test/error_highlight | |
parent | cad83fa3c4491153df0561b06bb261e25a831d0f (diff) | |
download | ruby-5e9598baea97c53757f12713bacc7f19f315c846.tar.gz |
[ruby/error_highlight] Fixed the argument for DidYouMean.formatter=
Looks like this bug was hidden by did_you_mean's rescuing any
exceptions.
https://github.com/ruby/error_highlight/commit/7a8f0b4796
Diffstat (limited to 'test/error_highlight')
-rw-r--r-- | test/error_highlight/test_error_highlight.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/error_highlight/test_error_highlight.rb b/test/error_highlight/test_error_highlight.rb index 5d90f75bbb..9fc14202b5 100644 --- a/test/error_highlight/test_error_highlight.rb +++ b/test/error_highlight/test_error_highlight.rb @@ -13,7 +13,7 @@ class ErrorHighlightTest < Test::Unit::TestCase def setup if defined?(DidYouMean) @did_you_mean_old_formatter = DidYouMean.formatter - DidYouMean.formatter = DummyFormatter + DidYouMean.formatter = DummyFormatter.new end end |