[Groonga-commit] ranguba/rroonga at e3b2674 [bind-grn_obj_is_key_accessor] test: reduce variable scope

アーカイブの一覧に戻る

Masafumi Yokoyama null+****@clear*****
Tue Jan 5 14:56:18 JST 2016


Masafumi Yokoyama	2016-01-05 14:56:18 +0900 (Tue, 05 Jan 2016)

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

  Message:
    test: reduce variable scope

  Modified files:
    test/test-accessor.rb

  Modified: test/test-accessor.rb (+1 -1)
===================================================================
--- test/test-accessor.rb    2016-01-05 14:53:09 +0900 (ea81d80)
+++ test/test-accessor.rb    2016-01-05 14:56:18 +0900 (897b2f5)
@@ -21,7 +21,6 @@ class AccessorTest < Test::Unit::TestCase
     setup_database
     @posts = Groonga::Hash.create(:name => "Posts", :key_type => "ShortText")
     @id =****@posts*****("_id")
-    @key =****@posts*****("_key")
   end
 
   def teardown
@@ -52,6 +51,7 @@ class AccessorTest < Test::Unit::TestCase
 
   sub_test_case "#key_accessor?" do
     test "true" do
+      @key =****@posts*****("_key")
       assert do
         @key.key_accessor?
       end
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る