From ea4b366de654478d697bc2d9cf51b1fba283be79 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 15 Sep 2026 16:35:56 +1200 Subject: [PATCH] Cover stream empty without output --- test/protocol/http/body/stream.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/protocol/http/body/stream.rb b/test/protocol/http/body/stream.rb index e47f097..5f83243 100644 --- a/test/protocol/http/body/stream.rb +++ b/test/protocol/http/body/stream.rb @@ -27,6 +27,14 @@ it "should be empty" do expect(stream).to be(:empty?) end + + with "no output" do + let(:output) {nil} + + it "should be empty" do + expect(stream).to be(:empty?) + end + end end with "#read" do