We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent35abc67 commit4e04c1eCopy full SHA for 4e04c1e
Tests.Vpn.Service/DownloaderTest.cs
@@ -465,7 +465,7 @@ public async Task ValidationFailureExistingFile(CancellationToken ct)
465
varmanager=newDownloader(NullLogger<Downloader>.Instance);
466
vardlTask=awaitmanager.StartDownloadAsync(newHttpRequestMessage(HttpMethod.Get,url),destPath,
467
newTestDownloadValidator(newException("test exception")),ct);
468
-// The "outer" Task should fail because the inner task never starts.
+// The "inner" Task should fail.
469
varex=Assert.ThrowsAsync<Exception>(async()=>{awaitdlTask.Task;});
470
Assert.That(ex.Message,Does.Contain("Existing file failed validation"));
471
Assert.That(ex.InnerException,Is.Not.Null);