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