We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
as_json
1 parent ff082e9 commit efab393Copy full SHA for efab393
test/async/http/protocol/http2.rb
@@ -17,7 +17,7 @@
17
response = client.get("/")
18
connection = response.connection
19
20
- expect(connection.as_json).to be == "#<Async::HTTP::Protocol::HTTP2::Client 1 requests, 0 active streams>"
+ expect(connection.as_json).to be =~ /#<Async::HTTP::Protocol::HTTP2::Client 1 requests, \d+ active streams>/
21
ensure
22
response&.close
23
end
0 commit comments