[Groonga-commit] groonga/fluent-plugin-groonga at 3a00d5f [master] test: add more test

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 5 17:42:57 JST 2014


Kouhei Sutou	2014-11-05 17:42:57 +0900 (Wed, 05 Nov 2014)

  New Revision: 3a00d5f7236032eb45c31a5afea16f7bba747bec
  https://github.com/groonga/fluent-plugin-groonga/commit/3a00d5f7236032eb45c31a5afea16f7bba747bec

  Message:
    test: add more test

  Modified files:
    test/output/test_type_guesser.rb

  Modified: test/output/test_type_guesser.rb (+4 -0)
===================================================================
--- test/output/test_type_guesser.rb    2014-11-05 17:42:27 +0900 (9c786f7)
+++ test/output/test_type_guesser.rb    2014-11-05 17:42:57 +0900 (f7d2cc9)
@@ -127,6 +127,10 @@ class OutputTypeGuesserTest < Test::Unit::TestCase
         message = "X" * (2 ** 12)
         assert_equal("ShortText", guess([message]))
       end
+
+      test "nil" do
+        assert_equal("ShortText", guess([nil]))
+      end
     end
 
     sub_test_case "Text" do
-------------- next part --------------
HTML����������������������������...
Download 



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