[Groonga-commit] ranguba/groonga-client at 1076df5 [master] Error message is nil on no header case

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 13 17:03:23 JST 2018


Kouhei Sutou	2018-07-13 17:03:23 +0900 (Fri, 13 Jul 2018)

  New Revision: 1076df545522a5dfcb5b04d063d7c2258313e5d3
  https://github.com/ranguba/groonga-client/commit/1076df545522a5dfcb5b04d063d7c2258313e5d3

  Message:
    Error message is nil on no header case
    
    It's backward compatibility change but it will not be a problem.

  Modified files:
    test/response/test-error.rb

  Modified: test/response/test-error.rb (+1 -1)
===================================================================
--- test/response/test-error.rb    2018-07-13 16:07:44 +0900 (ef88773)
+++ test/response/test-error.rb    2018-07-13 17:03:23 +0900 (830266f)
@@ -55,7 +55,7 @@ class TestResponseError < Test::Unit::TestCase
 
     def test_no_header
       response = Groonga::Client::Response::Error.new(nil, nil, nil)
-      assert_equal("", response.message)
+      assert_nil(response.message)
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180713/b85e14d5/attachment-0001.htm 



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