summaryrefslogtreecommitdiff
path: root/test/irb/test_color.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-28 21:51:35 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-28 21:51:37 +0900
commitf2d7ba6a7473b408002c90b77b021fc837f93561 (patch)
tree74c9b0baba1772685f83b6aa8378e7a6ef1584fb /test/irb/test_color.rb
parent13abf5519a8c00ac2b05409e667c58f05c75123a (diff)
make sync-default-gems GEM=irb
from https://github.com/ruby/irb/commit/e8e79d569ed59fe4ed4fbca968917ce799f02a5e. This colorizes Range object on IRB inspect.
Diffstat (limited to 'test/irb/test_color.rb')
-rw-r--r--test/irb/test_color.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_color.rb b/test/irb/test_color.rb
index e6186efed2..3305c2414a 100644
--- a/test/irb/test_color.rb
+++ b/test/irb/test_color.rb
@@ -44,6 +44,7 @@ module TestIRB
['foo', :bar] => true,
{ a: 4 } => true,
/reg/ => true,
+ (1..3) => true,
Object.new => false,
Struct => true,
Test => true,