Kouhei Sutou
null+****@clear*****
Mon Aug 19 11:52:27 JST 2013
Kouhei Sutou 2013-08-19 11:52:27 +0900 (Mon, 19 Aug 2013) New Revision: 0cfcca20d8f446418c4eec125b431791473b5326 https://github.com/groonga/groonga/commit/0cfcca20d8f446418c4eec125b431791473b5326 Message: Remove a needless test It is tested by test/command/ tests. Removed files: test/unit/command/test-comment.rb Modified files: test/unit/command/Makefile.am Modified: test/unit/command/Makefile.am (+1 -2) =================================================================== --- test/unit/command/Makefile.am 2013-08-18 19:14:00 +0900 (874333d) +++ test/unit/command/Makefile.am 2013-08-19 11:52:27 +0900 (020194b) @@ -1,5 +1,4 @@ EXTRA_DIST = \ test-config-file.rb \ test-option.rb \ - test-option-bom.rb \ - test-comment.rb + test-option-bom.rb Deleted: test/unit/command/test-comment.rb (+0 -45) 100644 =================================================================== --- test/unit/command/test-comment.rb 2013-08-18 19:14:00 +0900 (5887353) +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2010 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 -# License version 2.1 as published by the Free Software Foundation. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -class CommentTest < Test::Unit::TestCase - include GroongaTestUtils - - def setup - setup_database_path - @input_file = File.join(@tmp_dir, "commands") - end - - def teardown - teardown_database_path - end - - def test_comment - open(@input_file, "w") do |file| - file.puts("# defrag") - end - assert_equal("", - run_groonga("--file", @input_file, "-n", @database_path)) - end - - def test_comment_with_preceding_spaces - open(@input_file, "w") do |file| - file.puts(" # defrag") - end - assert_equal("", - run_groonga("--file", @input_file, "-n", @database_path)) - end -end -------------- next part -------------- HTML����������������������������...ダウンロード