Skip to content

Commit 985ac50

Browse files
authored
Make colorize test pass with NO_COLOR env set (#994)
1 parent 0e64136 commit 985ac50

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/irb/test_input_method.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def test_initialization
3535
end
3636

3737
def test_colorize
38+
IRB.conf[:USE_COLORIZE] = true
3839
original_colorable = IRB::Color.method(:colorable?)
3940
IRB::Color.instance_eval { undef :colorable? }
4041
IRB::Color.define_singleton_method(:colorable?) { true }

0 commit comments

Comments
 (0)