Kouhei Sutou 2019-06-14 16:31:54 +0900 (Fri, 14 Jun 2019) Revision: 0039bdc1dbb7930eb09525b78b46e5af09e4d852 https://github.com/ranguba/chupa-text-http-server/commit/0039bdc1dbb7930eb09525b78b46e5af09e4d852 Message: test: make more portable Modified files: test/controllers/extractions_controller_test.rb Modified: test/controllers/extractions_controller_test.rb (+2 -3) =================================================================== --- test/controllers/extractions_controller_test.rb 2019-06-14 11:37:49 +0900 (9a54c2e) +++ test/controllers/extractions_controller_test.rb 2019-06-14 16:31:54 +0900 (2c37da6) @@ -457,11 +457,10 @@ class ExtractionsControllerTest < ActionDispatch::IntegrationTest assert_equal("application/json", response.content_type, response.body) top_dir = File.expand_path("../../", __dir__) + uri = URI.parse("file://#{top_dir}/#{path}") assert_equal({ "data" => [ - "Timeout error: " + - "<file://#{top_dir}/#{path}>(): " + - "<#{timeout}>", + "Timeout error: <#{uri}>(): <#{timeout}>", ], }, JSON.parse(response.body)) -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190614/b47b9a5c/attachment.html>