[Groonga-commit] groonga/grntest at 11d5c0e [master] Improve new line handling

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 28 14:00:43 JST 2015


Kouhei Sutou	2015-03-28 14:00:43 +0900 (Sat, 28 Mar 2015)

  New Revision: 11d5c0e655eb2e4d921fccc8e747aed65f5abc82
  https://github.com/groonga/grntest/commit/11d5c0e655eb2e4d921fccc8e747aed65f5abc82

  Message:
    Improve new line handling

  Modified files:
    lib/grntest/test-runner.rb

  Modified: lib/grntest/test-runner.rb (+1 -1)
===================================================================
--- lib/grntest/test-runner.rb    2015-03-28 13:58:29 +0900 (5cbb431)
+++ lib/grntest/test-runner.rb    2015-03-28 14:00:43 +0900 (7cafaef)
@@ -524,7 +524,7 @@ http {
         end
         normalized_raw_content = normalize_raw_content(normalized_output)
         if jsonp
-          jsonp_start + normalized_raw_content + jsonp_end
+          "#{jsonp_start}#{normalized_raw_content.chomp}#{jsonp_end}\n"
         else
           normalized_raw_content
         end
-------------- next part --------------
HTML����������������������������...
下载 



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