[Groonga-commit] ranguba/rroonga at 0078778 [bind-grn_config_delete] test: improve a new context is used case

Back to archive index

Masafumi Yokoyama null+****@clear*****
Sat Mar 5 02:08:25 JST 2016


Masafumi Yokoyama	2016-03-05 02:08:25 +0900 (Sat, 05 Mar 2016)

  New Revision: 00787780f8f549adfe2385e9240c932a6467bb40
  https://github.com/ranguba/rroonga/commit/00787780f8f549adfe2385e9240c932a6467bb40

  Message:
    test: improve a new context is used case

  Modified files:
    test/test-plugin.rb

  Modified: test/test-plugin.rb (+2 -1)
===================================================================
--- test/test-plugin.rb    2016-03-05 12:27:32 +0900 (95782e4)
+++ test/test-plugin.rb    2016-03-05 02:08:25 +0900 (1ea74ff)
@@ -77,7 +77,8 @@ class PluginTest < Test::Unit::TestCase
 
     def test_context_option
       context.register_plugin("token_filters/stop_word")
-      assert_equal([], Groonga::Plugin.names(context: Groonga::Context.new))
+      new_context = Groonga::Context.new
+      assert_equal([], Groonga::Plugin.names(context: new_context))
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Descargar 



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