From ce85cd55c621804a39f06e9ce46974fc693ff8df Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 5 Mar 2015 23:03:35 +0000 Subject: * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_command_line_glob_with_dir): test for r49859. see [ruby-core:68430] [Bug #10941] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index ab0901d1db..ef9a8f257e 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -706,6 +706,14 @@ class TestRubyOptions < Test::Unit::TestCase bug10555, encoding: "locale") end end + + def test_command_line_glob_with_dir + bug10941 = '[ruby-core:68430] [Bug #10941]' + with_tmpchdir do |dir| + Dir.mkdir('test') + assert_in_out_err(["-e", "", "test/*"], "", [], [], bug10941) + end + end end if /mswin|mingw/ =~ RUBY_PLATFORM -- cgit v1.2.3