[Groonga-commit] ranguba/chupa-text at 8f8cc49 [master] test: follow extension change

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 10 17:25:38 JST 2017


Kouhei Sutou	2017-07-10 17:25:38 +0900 (Mon, 10 Jul 2017)

  New Revision: 8f8cc4967472f8735378f73bff55af844226c578
  https://github.com/ranguba/chupa-text/commit/8f8cc4967472f8735378f73bff55af844226c578

  Message:
    test: follow extension change

  Modified files:
    test/command/test-chupa-text.rb

  Modified: test/command/test-chupa-text.rb (+2 -2)
===================================================================
--- test/command/test-chupa-text.rb    2017-07-10 17:11:25 +0900 (b99d868)
+++ test/command/test-chupa-text.rb    2017-07-10 17:25:38 +0900 (42354c9)
@@ -197,8 +197,8 @@ class TestCommandChupaText < Test::Unit::TestCase
                        "size"      => path.stat.size,
                        "texts"     => [
                          {
-                           "uri"       => uri.to_s,
-                           "path"      => path.to_s,
+                           "uri"       => uri.to_s.gsub(/\.csv\z/, ".txt"),
+                           "path"      => path.sub_ext(".txt").to_s,
                            "mime-type" => "text/plain",
                            "source-mime-types" => ["text/csv"],
                            "body"      => "1 2 3\n4 5 6\n7 8 9\n",
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index