summaryrefslogtreecommitdiff
path: root/test/irb/test_option.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/test_option.rb')
-rw-r--r--test/irb/test_option.rb12
1 files changed, 12 insertions, 0 deletions
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