Navigation Menu

Skip to content

Commit

Permalink
Ignore empty body
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 24, 2014
1 parent 7c5f0ac commit dc12ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drntest/response-normalizer.rb
Expand Up @@ -98,7 +98,7 @@ def normalize_groonga_command_header!(header)
end

def normalize_groonga_command_body!(body)
return unless body.is_a?(Array)
return if not body.is_a?(Array) or body.empty?

case @request["type"]
when "table_list"
Expand Down

0 comments on commit dc12ed7

Please sign in to comment.