Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #77 from ranguba/revert-76-add-token-regexp-type
Browse files Browse the repository at this point in the history
Revert "Add Groonga::Type::REGEXP for TokenRegexp"
  • Loading branch information
kou committed Apr 2, 2015
2 parents f029e39 + 08009eb commit 588ff73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion ext/groonga/rb-grn-type.c
Expand Up @@ -278,5 +278,4 @@ rb_grn_init_type (VALUE mGrn)
rb_define_const(rb_cGrnType, "BIGRAM", INT2NUM(GRN_DB_BIGRAM));
rb_define_const(rb_cGrnType, "TRIGRAM", INT2NUM(GRN_DB_TRIGRAM));
rb_define_const(rb_cGrnType, "MECAB", INT2NUM(GRN_DB_MECAB));
rb_define_const(rb_cGrnType, "REGEXP", INT2NUM(GRN_OP_REGEXP));
}
4 changes: 0 additions & 4 deletions test/test-type.rb
Expand Up @@ -156,9 +156,5 @@ def test_mecab
check_mecab_availability
assert_equal_type("TokenMecab", Groonga::Type::MECAB)
end

def test_regexp
assert_equal_type("TokenRegexp", Groonga::Type::REGEXP)
end
end
end

0 comments on commit 588ff73

Please sign in to comment.