null+****@clear*****
null+****@clear*****
2012年 6月 5日 (火) 18:05:00 JST
Haruka Yoshihara 2012-06-05 18:05:00 +0900 (Tue, 05 Jun 2012)
New Revision: 5b63d263e4f2b042d8c0db0bd83c2e97be8aaf58
Log:
Translater: Remove unneeded translated target
Modified files:
lib/groonga/tester.rb
test/test-executor.rb
Modified: lib/groonga/tester.rb (+0 -1)
===================================================================
--- lib/groonga/tester.rb 2012-06-05 18:01:23 +0900 (529bd1a)
+++ lib/groonga/tester.rb 2012-06-05 18:05:00 +0900 (69a07e8)
@@ -620,7 +620,6 @@ module Groonga
command = command.chomp
return "" if command.empty?
- return command if command =~ /\A\s*\#/
return Rack::Utils.escape(command) if command =~ /\A(?!\s+)\W/
now_command, *arguments = Shellwords.split(command)
Modified: test/test-executor.rb (+0 -8)
===================================================================
--- test/test-executor.rb 2012-06-05 18:01:23 +0900 (4c34c76)
+++ test/test-executor.rb 2012-06-05 18:05:00 +0900 (bf0ba2d)
@@ -137,14 +137,6 @@ EOF
assert_equal(expected_command, actual_command)
end
- def test_comment
- comment = "#this is comment."
- expected_command = comment
- actual_command = translate(comment)
-
- assert_equal(expected_command, actual_command)
- end
-
private
def translate(command)
@translater.translate_command(command)