diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-05 23:03:35 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-05 23:03:35 +0000 |
commit | ce85cd55c621804a39f06e9ce46974fc693ff8df (patch) | |
tree | 8ab244cbe971b757f08f127461983aa2c3b097d3 /test/ruby/test_rubyoptions.rb | |
parent | 01c6f504959e180c769f1adc35a3f69161868ee3 (diff) |
* 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
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 |