Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Jul 31, 2024
1 parent 5c623cd commit 1bab533
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/ezclient_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,11 @@ def self.sign!(*); end
# - see request (@http_request.host)
# - see request.verb
# - see request.url
# rubocop:disable Layout/LineEndStringConcatenationIndentation
# rubocop:disable Style/TrailingCommaInArguments
expect(response.inspect).to eq(
"{:req=>{" \
":raw=>\"#<HTTP::Request/1.1 POST http://example.com/>\", "\
":raw=>\"#<HTTP::Request/1.1 POST http://example.com/>\", " \
":hdrs=>#<HTTP::Headers " \
"{\"User-Agent\"=>\"ezclient/#{EzClient::VERSION}\", " \
"\"Connection\"=>\"close\", " \
Expand All @@ -411,6 +413,8 @@ def self.sign!(*); end
":hdrs=>#<HTTP::Headers {}>, " \
":body=>\"\"}}"
)
# rubocop:enable Layout/LineEndStringConcatenationIndentation
# rubocop:enable Style/TrailingCommaInArguments
end
end
end
Expand Down

0 comments on commit 1bab533

Please sign in to comment.