Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Mar 16, 2024
1 parent 18b3429 commit e619528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/req/integration_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ defmodule Req.IntegrationTest do
Req.put!(req,
url: "/key1",
headers: [content_length: byte_size(now) * 2],
body: Stream.duplicate(now, 2)
body: Stream.take(Stream.cycle([now]), 2)
)

assert Req.get!(req, url: "/key1").body == String.duplicate(now, 2)
Expand Down

0 comments on commit e619528

Please sign in to comment.