Error message has instruction to help investigate from NuGet error message

This commit is contained in:
William Li 2018-04-16 14:28:09 -07:00
parent b0610b9116
commit fd66168922
16 changed files with 151 additions and 70 deletions

View file

@ -364,7 +364,7 @@ namespace Microsoft.DotNet.Tests.Commands
a.ShouldThrow<GracefulException>().And.Message
.Should().Contain(
LocalizableStrings.ToolInstallationRestoreFailed +
Environment.NewLine + string.Format(LocalizableStrings.ToolInstallationFailedWithExplicitVersionGuide, PackageId));
Environment.NewLine + string.Format(LocalizableStrings.ToolInstallationFailedWithRestoreGuidance, PackageId));
_fileSystem.Directory.Exists(Path.Combine(PathToPlacePackages, PackageId)).Should().BeFalse();
}