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

ruby-changes:27885

From: usa <ko1@a...>
Date: Tue, 26 Mar 2013 21:18:03 +0900 (JST)
Subject: [ruby-changes:27885] usa:r39937 (trunk): * test/ruby/test_syntax.rb: fixed a typo introduced at r39935.

usa	2013-03-26 21:16:49 +0900 (Tue, 26 Mar 2013)

  New Revision: 39937

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

  Log:
    * test/ruby/test_syntax.rb: fixed a typo introduced at r39935.

  Modified files:
    trunk/test/ruby/test_syntax.rb

Index: test/ruby/test_syntax.rb
===================================================================
--- test/ruby/test_syntax.rb	(revision 39936)
+++ test/ruby/test_syntax.rb	(revision 39937)
@@ -7,7 +7,7 @@ class TestSyntax < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_syntax.rb#L7
     assert_separately(%W[--disable-gem -r#{__dir__}/envutil - #{srcdir}],
                       __FILE__, __LINE__, <<-eom, timeout: Float::INFINITY)
       dir = ARGV.shift
-      for script in Dir["#{dir}/{lib,sample,ext,test}/**/*.rb"].sort
+      for script in Dir["#{srcdir}/{lib,sample,ext,test}/**/*.rb"].sort
         assert_valid_syntax(IO::read(script), script)
       end
     eom

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

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