mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
This commit is contained in:
parent
cad83fa3c4
commit
5e9598baea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue