From 504e6b4dacf4071ffc8ead7460098fe560de4f04 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 5 Dec 2010 03:09:34 +0000 Subject: * lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/irb/test_option.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/irb/test_option.rb (limited to 'test/irb') diff --git a/test/irb/test_option.rb b/test/irb/test_option.rb new file mode 100644 index 0000000000..846d7185a5 --- /dev/null +++ b/test/irb/test_option.rb @@ -0,0 +1,12 @@ +require 'test/unit' +require_relative '../ruby/envutil' + +module TestIRB + class TestOption < Test::Unit::TestCase + def test_end_of_option + bug4117 = '[ruby-core:33574]' + status = assert_in_out_err(%w[-rirb -e IRB.start(__FILE__) -- --], "", //, [], bug4117) + assert(status.success?, bug4117) + end + end +end -- cgit v1.2.3