mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
ignore http/form-data warning from the coverage
This commit is contained in:
parent
a050b5a403
commit
3ed3dcaa43
@ -23,6 +23,7 @@ module HTTPX
|
||||
end
|
||||
|
||||
def load_dependencies(*)
|
||||
# :nocov:
|
||||
begin
|
||||
unless defined?(HTTP::FormData)
|
||||
# in order not to break legacy code, we'll keep loading http/form_data for them.
|
||||
@ -33,6 +34,7 @@ module HTTPX
|
||||
end
|
||||
rescue LoadError
|
||||
end
|
||||
# :nocov:
|
||||
require "httpx/plugins/multipart/encoder"
|
||||
require "httpx/plugins/multipart/part"
|
||||
require "httpx/plugins/multipart/mime_type_detector"
|
||||
|
Loading…
x
Reference in New Issue
Block a user