mirror of https://github.com/winsw/winsw
Fix tests
parent
03d0ccc4d7
commit
39e4bd1cde
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue