[前][次][番号順一覧][スレッド一覧]

ruby-changes:37784

From: usa <ko1@a...>
Date: Fri, 6 Mar 2015 08:03:41 +0900 (JST)
Subject: [ruby-changes:37784] usa:r49865 (trunk): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_command_line_glob_with_dir):

usa	2015-03-06 08:03:35 +0900 (Fri, 06 Mar 2015)

  New Revision: 49865

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49865

  Log:
    * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_command_line_glob_with_dir):
      test for r49859.  see [ruby-core:68430] [Bug #10941]

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb
Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 49864)
+++ test/ruby/test_rubyoptions.rb	(revision 49865)
@@ -706,6 +706,14 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L706
                           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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]