[Groonga-commit] groonga/groonga [master] test: remove a redundant check about existence of directory

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 30日 (水) 16:04:07 JST


HAYASHI Kentaro	2012-05-30 16:04:07 +0900 (Wed, 30 May 2012)

  New Revision: 8d08ba72a0300f21b8106b0c7c65f7c6f73368b0

  Log:
    test: remove a redundant check about existence of directory

  Modified files:
    test/function/tools/geo/generate-grntest-data.rb

  Modified: test/function/tools/geo/generate-grntest-data.rb (+1 -1)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-30 15:58:39 +0900 (d9a2773)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-30 16:04:07 +0900 (1f232b0)
@@ -574,7 +574,7 @@ if __FILE__ == $0
             exit 1
           end
 
-          if test_name and not Dir.exists?(File.dirname(test_name))
+          if test_name
             FileUtils.mkdir_p(File.dirname(test_name))
           end
 




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