Skip to content

Commit 464fbb2

Browse files
64J0Copilot
andauthored
Update tests/Giraffe.Tests/Helpers.fs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b506b99 commit 464fbb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Giraffe.Tests/Helpers.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ let makeRequest configureApp configureServices args (request: HttpRequestMessage
146146
task {
147147
#if NET10_0_OR_GREATER
148148
// https://github.com/aspnet/Announcements/issues/526
149-
let host = createHost configureApp configureServices args |> _.Build()
149+
use host = createHost configureApp configureServices args |> _.Build()
150150

151151
let! _ = host.StartAsync()
152152
use server = host.GetTestServer()

0 commit comments

Comments
 (0)