[Groonga-commit] ranguba/rroonga at 34214ca [master] test: remove a needless local variable "context"

Back to archive index

Masafumi Yokoyama null+****@clear*****
Sat Mar 5 01:53:22 JST 2016


Masafumi Yokoyama	2016-03-05 01:53:22 +0900 (Sat, 05 Mar 2016)

  New Revision: 34214caacf5b2b6bb8fb7822613019f1f352ff6f
  https://github.com/ranguba/rroonga/commit/34214caacf5b2b6bb8fb7822613019f1f352ff6f

  Message:
    test: remove a needless local variable "context"
    
    "context" method is defined in the test utils.

  Modified files:
    test/test-plugin.rb

  Modified: test/test-plugin.rb (+0 -1)
===================================================================
--- test/test-plugin.rb    2016-03-05 01:15:09 +0900 (12efc63)
+++ test/test-plugin.rb    2016-03-05 01:53:22 +0900 (1dd1f38)
@@ -22,7 +22,6 @@ class PluginTest < Test::Unit::TestCase
   teardown :teardown_sandbox
 
   def test_register
-    context = Groonga::Context.default
     assert_nil(context["TokenFilterStopWord"])
     context.register_plugin("token_filters/stop_word")
     assert_not_nil(context["TokenFilterStopWord"])
-------------- next part --------------
HTML����������������������������...
Descargar 



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