Kouhei Sutou
null+****@clear*****
Mon Oct 14 22:50:58 JST 2013
Kouhei Sutou 2013-10-14 22:50:58 +0900 (Mon, 14 Oct 2013) New Revision: e8f9042f82564c3211cf59f847697d0982ffa034 https://github.com/groonga/grntest/commit/e8f9042f82564c3211cf59f847697d0982ffa034 Message: Follow parse error change in groonga-command-parser Modified files: lib/grntest/executors/base-executor.rb Modified: lib/grntest/executors/base-executor.rb (+2 -2) =================================================================== --- lib/grntest/executors/base-executor.rb 2013-10-14 11:15:39 +0900 (13abef7) +++ lib/grntest/executors/base-executor.rb 2013-10-14 22:50:58 +0900 (1fbaef0) @@ -54,10 +54,10 @@ module Grntest script_file.each_line do |line| begin parser << line - rescue Error, Groonga::Command::ParseError + rescue Error, Groonga::Command::Parser::Error line_info = "#{script_path}:#{script_file.lineno}:#{line.chomp}" log_error("#{line_info}: #{$!.message}") - if $!.is_a?(Groonga::Command::ParseError) + if $!.is_a?(Groonga::Command::Parser::Error) @context.abort else log_error("#{line_info}: #{$!.message}") -------------- next part -------------- HTML����������������������������...Download