summaryrefslogtreecommitdiff
path: root/test/net/client_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/client_test.rb')
-rw-r--r--test/net/client_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/client_test.rb b/test/net/client_test.rb
index 4a688d1..19e8f81 100644
--- a/test/net/client_test.rb
+++ b/test/net/client_test.rb
@@ -313,7 +313,7 @@ class ClientTest < Minitest::Test
refute_nil response
assert_kind_of Net::HTTPOK, response
io.rewind
- assert_match %r{^(opening connection to www.example.org:443)}, io.read
+ assert_match(/^opening connection to .+:443/, io.read)
end
end
end