[Groonga-commit] groonga/grntest at 7fd688b [master] Remove needless new line from groonga-httpd response

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 26 14:50:18 JST 2015


Kouhei Sutou	2015-01-26 14:50:18 +0900 (Mon, 26 Jan 2015)

  New Revision: 7fd688bba6c8f2aef73d809fae9f7b59aa7f390b
  https://github.com/groonga/grntest/commit/7fd688bba6c8f2aef73d809fae9f7b59aa7f390b

  Message:
    Remove needless new line from groonga-httpd response

  Modified files:
    lib/grntest/executors/http-executor.rb

  Modified: lib/grntest/executors/http-executor.rb (+2 -2)
===================================================================
--- lib/grntest/executors/http-executor.rb    2015-01-26 14:49:44 +0900 (4de4b0e)
+++ lib/grntest/executors/http-executor.rb    2015-01-26 14:50:18 +0900 (c92b934)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2012-2013  Kouhei Sutou <kou �� clear-code.com>
+# Copyright (C) 2012-2015  Kouhei Sutou <kou �� clear-code.com>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -94,7 +94,7 @@ module Grntest
         if raw_response_data.empty?
           raw_response_data
         else
-          "#{raw_response_data}\n"
+          "#{raw_response_data.chomp}\n"
         end
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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