mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-08 00:02:42 -04:00
fixed test match
This commit is contained in:
parent
5ad314607d
commit
1765ddf0f8
@ -95,7 +95,7 @@ if RUBY_VERSION >= "2.4.0"
|
|||||||
|
|
||||||
response = HTTPX.get(uri)
|
response = HTTPX.get(uri)
|
||||||
|
|
||||||
verify_error_response(response, /Can't resolve unexisting/)
|
verify_error_response(response, /name or service not known/)
|
||||||
assert response.is_a?(HTTPX::ErrorResponse), "response should contain errors"
|
assert response.is_a?(HTTPX::ErrorResponse), "response should contain errors"
|
||||||
verify_spans(transaction, response, verb: "GET")
|
verify_spans(transaction, response, verb: "GET")
|
||||||
crumb = Sentry.get_current_scope.breadcrumbs.peek
|
crumb = Sentry.get_current_scope.breadcrumbs.peek
|
||||||
|
Loading…
x
Reference in New Issue
Block a user