Kouhei Sutou
null+****@clear*****
Thu Nov 6 15:30:23 JST 2014
Kouhei Sutou 2014-11-06 15:30:23 +0900 (Thu, 06 Nov 2014) New Revision: b0be26247dcfaaf735ff04f8603cdc43ce7a10ed https://github.com/ranguba/rroonga/commit/b0be26247dcfaaf735ff04f8603cdc43ce7a10ed Message: test: indent Modified files: test/test-double-array-trie.rb test/test-hash.rb test/test-patricia-trie.rb Modified: test/test-double-array-trie.rb (+8 -8) =================================================================== --- test/test-double-array-trie.rb 2014-11-06 15:22:19 +0900 (9926af2) +++ test/test-double-array-trie.rb 2014-11-06 15:30:23 +0900 (b6824fe) @@ -56,14 +56,14 @@ class DoubleArrayTrieTest < Test::Unit::TestCase end class TokenFiltersTest < self - def test_accessor - context.register_plugin("token_filters/stop_word") - trie = Groonga::DoubleArrayTrie.create - assert_equal([], trie.token_filters) - trie.token_filters = ["TokenFilterStopWord"] - assert_equal([context["TokenFilterStopWord"]], - trie.token_filters) - end + def test_accessor + context.register_plugin("token_filters/stop_word") + trie = Groonga::DoubleArrayTrie.create + assert_equal([], trie.token_filters) + trie.token_filters = ["TokenFilterStopWord"] + assert_equal([context["TokenFilterStopWord"]], + trie.token_filters) + end end def test_search Modified: test/test-hash.rb (+8 -8) =================================================================== --- test/test-hash.rb 2014-11-06 15:22:19 +0900 (0cfe10b) +++ test/test-hash.rb 2014-11-06 15:30:23 +0900 (cce7f45) @@ -196,14 +196,14 @@ class HashTest < Test::Unit::TestCase end class TokenFiltersTest < self - def test_accessor - context.register_plugin("token_filters/stop_word") - hash = Groonga::Hash.create - assert_equal([], hash.token_filters) - hash.token_filters = ["TokenFilterStopWord"] - assert_equal([context["TokenFilterStopWord"]], - hash.token_filters) - end + def test_accessor + context.register_plugin("token_filters/stop_word") + hash = Groonga::Hash.create + assert_equal([], hash.token_filters) + hash.token_filters = ["TokenFilterStopWord"] + assert_equal([context["TokenFilterStopWord"]], + hash.token_filters) + end end def test_normalizer Modified: test/test-patricia-trie.rb (+8 -8) =================================================================== --- test/test-patricia-trie.rb 2014-11-06 15:22:19 +0900 (3808812) +++ test/test-patricia-trie.rb 2014-11-06 15:30:23 +0900 (05634bd) @@ -56,14 +56,14 @@ class PatriciaTrieTest < Test::Unit::TestCase end class TokenFiltersTest < self - def test_accessor - context.register_plugin("token_filters/stop_word") - trie = Groonga::PatriciaTrie.create - assert_equal([], trie.token_filters) - trie.token_filters = ["TokenFilterStopWord"] - assert_equal([context["TokenFilterStopWord"]], - trie.token_filters) - end + def test_accessor + context.register_plugin("token_filters/stop_word") + trie = Groonga::PatriciaTrie.create + assert_equal([], trie.token_filters) + trie.token_filters = ["TokenFilterStopWord"] + assert_equal([context["TokenFilterStopWord"]], + trie.token_filters) + end end def test_normalizer -------------- next part -------------- HTML����������������������������...ダウンロード