From 39e4bd1cdec9ad9a44dc914bbbd96eb47339956e Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+nxtn@users.noreply.github.com> Date: Mon, 9 Aug 2021 13:23:28 +0800 Subject: [PATCH] Fix tests --- src/WinSW.Tests/DownloadTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WinSW.Tests/DownloadTests.cs b/src/WinSW.Tests/DownloadTests.cs index 880370e..c09f13d 100644 --- a/src/WinSW.Tests/DownloadTests.cs +++ b/src/WinSW.Tests/DownloadTests.cs @@ -211,7 +211,7 @@ namespace WinSW.Tests async (source, dest) => { var exception = await Assert.ThrowsAsync( - async () => await new Download(source, dest).PerformAsync()); + async () => await new Download(source, dest, true).PerformAsync()); Assert.Equal(WebExceptionStatus.ProtocolError, exception.Status); },