summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/http/set_debug_output_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/net/http/http/set_debug_output_spec.rb')
-rw-r--r--spec/ruby/library/net/http/http/set_debug_output_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/net/http/http/set_debug_output_spec.rb b/spec/ruby/library/net/http/http/set_debug_output_spec.rb
index 806f468a84..820c368cd0 100644
--- a/spec/ruby/library/net/http/http/set_debug_output_spec.rb
+++ b/spec/ruby/library/net/http/http/set_debug_output_spec.rb
@@ -28,6 +28,6 @@ describe "Net::HTTP#set_debug_output when passed io" do
it "outputs a warning when the connection has already been started" do
@http.start
- lambda { @http.set_debug_output(StringIO.new) }.should complain("Net::HTTP#set_debug_output called after HTTP started\n")
+ lambda { @http.set_debug_output(StringIO.new) }.should complain(/Net::HTTP#set_debug_output called after HTTP started/)
end
end