Skip to content

Commit

Permalink
addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SimaTian committed Jan 27, 2025
1 parent 39e21fe commit 2238c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Microsoft.NET.Build.Containers;
internal sealed class UnableToDownloadFromRepositoryException : Exception
{
public UnableToDownloadFromRepositoryException(string repository)
: base($"The load of the image from repository { repository } has failed.")
: base($"The download of the image from repository { repository } has failed.")
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ public async Task CheckErrorMessageWhenSourceRepositoryThrows()
catch (UnableToDownloadFromRepositoryException e)
{
sawMyException = true;
Assert.Contains("The load of the image from repository some_random_image has failed", e.ToString());
Assert.Contains("CONTAINER1018", e.ToString());
}
Assert.True(sawMyException);

Expand Down

0 comments on commit 2238c89

Please sign in to comment.