Fix tests

pull/853/head
Next Turn 2021-08-09 13:23:28 +08:00
parent 03d0ccc4d7
commit 39e4bd1cde
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ namespace WinSW.Tests
async (source, dest) =>
{
var exception = await Assert.ThrowsAsync<WebException>(
async () => await new Download(source, dest).PerformAsync());
async () => await new Download(source, dest, true).PerformAsync());
Assert.Equal(WebExceptionStatus.ProtocolError, exception.Status);
},