зеркало из https://github.com/github/ruby.git
[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:
Родитель
cad83fa3c4
Коммит
5e9598baea
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче