1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2015-03-05 23:03:35 +00:00
parent 01c6f50495
commit ce85cd55c6

View file

@ -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