aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 13:56:48 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 13:56:48 +0000
commit89c7e6de442d558b6819cb23b7a011410ea19668 (patch)
tree869438f9be94e125a09c14e6df079eeee11372f0 /tool
parent64bb2b1cc0271e5e8697a41e6a4c602fb4ae66e9 (diff)
downloadruby-89c7e6de442d558b6819cb23b7a011410ea19668.tar.gz
irb/test_init.rb: add test to ensure $0
is not changed. At first `ARGV.unshift('something')` was suggested for r61149, but it wasn't sufficient because it modifies $0. Not only to preserve ARGV, but also r61149 intends to preserve $0. This test prevents future breakage of the behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions