[Groonga-commit] ranguba/rroonga at 52e9a93 [bind-grn_obj_is_key_accessor] test: use local variable

Back to archive index

Masafumi Yokoyama null+****@clear*****
Tue Jan 5 15:05:31 JST 2016


Masafumi Yokoyama	2016-01-05 15:05:31 +0900 (Tue, 05 Jan 2016)

  New Revision: 52e9a939c96e9601d02af253e3b1c8ac017ad799
  https://github.com/ranguba/rroonga/commit/52e9a939c96e9601d02af253e3b1c8ac017ad799

  Message:
    test: use local variable

  Modified files:
    test/test-accessor.rb

  Modified: test/test-accessor.rb (+2 -2)
===================================================================
--- test/test-accessor.rb    2016-01-05 14:56:18 +0900 (897b2f5)
+++ test/test-accessor.rb    2016-01-05 15:05:31 +0900 (0f686ca)
@@ -51,9 +51,9 @@ class AccessorTest < Test::Unit::TestCase
 
   sub_test_case "#key_accessor?" do
     test "true" do
-      @key =****@posts*****("_key")
+      key =****@posts*****("_key")
       assert do
-        @key.key_accessor?
+        key.key_accessor?
       end
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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