Skip to content

Commit defcaf1

Browse files
committed
Apply ErrorHighlight::CoreExt to TypeError and ArgumentError
1 parent 489ce80 commit defcaf1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/error_highlight/core_ext.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ def to_s
3737
end
3838

3939
NameError.prepend(CoreExt)
40-
41-
# The extension for TypeError/ArgumentError is temporarily disabled due to many test failures
42-
43-
#TypeError.prepend(CoreExt)
44-
#ArgumentError.prepend(CoreExt)
40+
TypeError.prepend(CoreExt)
41+
ArgumentError.prepend(CoreExt)
4542
end

0 commit comments

Comments
 (0)