[Groonga-commit] groonga/grntest [master] Add missing (...)

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 23日 (水) 17:39:16 JST


Kouhei Sutou	2012-05-23 17:39:16 +0900 (Wed, 23 May 2012)

  New Revision: 910034850f5d06c667b82315ed0325645a6ffff7

  Log:
    Add missing (...)

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+2 -2)
===================================================================
--- lib/groonga/tester.rb    2012-05-23 17:37:58 +0900 (0c9f323)
+++ lib/groonga/tester.rb    2012-05-23 17:39:16 +0900 (4472c25)
@@ -245,7 +245,7 @@ module Groonga
         FileUtils.rm_rf(path)
         FileUtils.mkdir_p(path)
         begin
-          yield path
+          yield(path)
         ensure
           if****@teste*****_database? and File.exist?(path)
             FileUtils.rm_rf(keep_database_path)
@@ -709,7 +709,7 @@ module Groonga
         file = Tempfile.new("groonga-test-#{key}")
         file.print(content)
         file.close
-        yield file
+        yield(file)
       end
 
       def guess_term_width




Groonga-commit メーリングリストの案内
Back to archive index