Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4e04c1e

Browse files
committedApr 17, 2025·
fix comment
1 parent 35abc67 commit 4e04c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Tests.Vpn.Service/DownloaderTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public async Task ValidationFailureExistingFile(CancellationToken ct)
465465
var manager = new Downloader(NullLogger<Downloader>.Instance);
466466
var dlTask = await manager.StartDownloadAsync(new HttpRequestMessage(HttpMethod.Get, url), destPath,
467467
new TestDownloadValidator(new Exception("test exception")), ct);
468-
// The "outer" Task should fail because the inner task never starts.
468+
// The "inner" Task should fail.
469469
var ex = Assert.ThrowsAsync<Exception>(async () => { await dlTask.Task; });
470470
Assert.That(ex.Message, Does.Contain("Existing file failed validation"));
471471
Assert.That(ex.InnerException, Is.Not.Null);

0 commit comments

Comments
 (0)
Please sign in to comment.