Navigation Menu

Skip to content

Commit

Permalink
test: group by token ID
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 14, 2015
1 parent 105d772 commit 02082ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test-index-column.rb
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
# Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -502,6 +502,7 @@ def test_adjust
end

class EstimateSizeTest < self
sub_test_case "token ID" do
setup
def setup_schema
Groonga::Schema.define do |schema|
Expand Down Expand Up @@ -540,5 +541,6 @@ def test_id
def test_record
assert_equal(7, @index.estimate_size(@terms["fast"]))
end
end
end
end

0 comments on commit 02082ab

Please sign in to comment.