1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/irb
k0kubun 89c7e6de44 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
2017-12-12 13:56:48 +00:00
..
test_completion.rb
test_init.rb irb/test_init.rb: add test to ensure $0 2017-12-12 13:56:48 +00:00
test_option.rb
test_raise_no_backtrace_exception.rb
test_ruby-lex.rb ruby-lex.rb: fix continued line conditions 2017-04-20 11:07:02 +00:00
test_workspace.rb test_workspace.rb: prefer using skip 2017-11-29 11:27:32 +00:00