Kouhei Sutou
null+****@clear*****
Wed Jan 13 17:20:45 JST 2016
Kouhei Sutou 2013-07-14 16:29:15 +0900 (Sun, 14 Jul 2013) New Revision: 22c512846314918ef9f26034f6a021a097864091 https://github.com/groonga/groonga-command/commit/22c512846314918ef9f26034f6a021a097864091 Message: test table_create: fix indent Modified files: test/command/test-table-create.rb Modified: test/command/test-table-create.rb (+45 -45) =================================================================== --- test/command/test-table-create.rb 2013-07-11 15:57:59 +0900 (bc76938) +++ test/command/test-table-create.rb 2013-07-14 16:29:15 +0900 (7243df6) @@ -64,75 +64,75 @@ class TableCreateCommandTest < Test::Unit::TestCase class PredicateTest < self data({ - "TABLE_NO_KEY" => { - :expected => true, - :flags => "TABLE_NO_KEY", - }, - "other flag" => { - :expected => false, - :flags => "TABLE_HASH_KEY", - } - }) + "TABLE_NO_KEY" => { + :expected => true, + :flags => "TABLE_NO_KEY", + }, + "other flag" => { + :expected => false, + :flags => "TABLE_HASH_KEY", + } + }) def test_table_no_key?(data) command = parse({"flags" => data[:flags]}) assert_equal(data[:expected], command.table_no_key?) end data({ - "TABLE_HASH_KEY" => { - :expected => true, - :flags => "TABLE_HASH_KEY", - }, - "other flag" => { - :expected => false, - :flags => "TABLE_PAT_KEY", - } - }) + "TABLE_HASH_KEY" => { + :expected => true, + :flags => "TABLE_HASH_KEY", + }, + "other flag" => { + :expected => false, + :flags => "TABLE_PAT_KEY", + } + }) def test_table_hash_key?(data) command = parse({"flags" => data[:flags]}) assert_equal(data[:expected], command.table_hash_key?) end data({ - "TABLE_PAT_KEY" => { - :expected => true, - :flags => "TABLE_PAT_KEY", - }, - "other flag" => { - :expected => false, - :flags => "TABLE_DAT_KEY", - } - }) + "TABLE_PAT_KEY" => { + :expected => true, + :flags => "TABLE_PAT_KEY", + }, + "other flag" => { + :expected => false, + :flags => "TABLE_DAT_KEY", + } + }) def test_table_pat_key?(data) command = parse({"flags" => data[:flags]}) assert_equal(data[:expected], command.table_pat_key?) end data({ - "TABLE_DAT_KEY" => { - :expected => true, - :flags => "TABLE_DAT_KEY", - }, - "other flag" => { - :expected => false, - :flags => "TABLE_NO_KEY", - } - }) + "TABLE_DAT_KEY" => { + :expected => true, + :flags => "TABLE_DAT_KEY", + }, + "other flag" => { + :expected => false, + :flags => "TABLE_NO_KEY", + } + }) def test_table_dat_key?(data) command = parse({"flags" => data[:flags]}) assert_equal(data[:expected], command.table_dat_key?) end data({ - "TABLE_DAT_KEY" => { - :expected => true, - :flags => "KEY_WITH_SIS|TABLE_PAT_KEY", - }, - "other flag" => { - :expected => false, - :flags => "TABLE_NO_KEY", - } - }) + "TABLE_DAT_KEY" => { + :expected => true, + :flags => "KEY_WITH_SIS|TABLE_PAT_KEY", + }, + "other flag" => { + :expected => false, + :flags => "TABLE_NO_KEY", + } + }) def test_key_with_sis?(data) command = parse({"flags" => data[:flags]}) assert_equal(data[:expected], command.key_with_sis?) -------------- next part -------------- HTML����������������������������...ダウンロード