aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:42:50 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:42:51 +0900
commit6669c966d2744f21315047d1725ad4494d15b8ba (patch)
tree564cfbc7b4d1e3ab291448e430314e6ce66194a2 /test
parent52cfb17086998b9434c9c786bfcf827197216c9a (diff)
downloadruby-6669c966d2744f21315047d1725ad4494d15b8ba.tar.gz
Class instance should be also colorable on IRB
inspect. Change is made with: `$ make -C .ruby sync-default-gems GEM=irb`
Diffstat (limited to 'test')
-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 8439fd54f5..61911cf1f1 100644
--- a/test/irb/test_color.rb
+++ b/test/irb/test_color.rb
@@ -53,6 +53,7 @@ module TestIRB
['foo', :bar] => true,
{ a: 4 } => true,
/reg/ => true,
+ Struct => true,
Object.new => false,
Struct.new(:a) => false,
Struct.new(:a).new(1) => false,