[Groonga-commit] ranguba/rroonga at a83674c [master] test: fix a meaningless test

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 5 12:27:32 JST 2016


Kouhei Sutou	2016-03-05 12:27:32 +0900 (Sat, 05 Mar 2016)

  New Revision: a83674c8f4528546a881b7cf22fbbbfe5a952345
  https://github.com/ranguba/rroonga/commit/a83674c8f4528546a881b7cf22fbbbfe5a952345

  Message:
    test: fix a meaningless test

  Modified files:
    test/test-plugin.rb

  Modified: test/test-plugin.rb (+2 -1)
===================================================================
--- test/test-plugin.rb    2016-03-05 11:41:11 +0900 (dd2946f)
+++ test/test-plugin.rb    2016-03-05 12:27:32 +0900 (95782e4)
@@ -76,7 +76,8 @@ class PluginTest < Test::Unit::TestCase
     end
 
     def test_context_option
-      assert_equal([], Groonga::Plugin.names(context: context))
+      context.register_plugin("token_filters/stop_word")
+      assert_equal([], Groonga::Plugin.names(context: Groonga::Context.new))
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Télécharger 



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