Fix dotnet store tests for new error message.

This commit is contained in:
Eric Erhardt 2017-06-02 09:18:24 -05:00
parent a52f63854b
commit c45dd3bf82

View file

@ -102,7 +102,10 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
new DotnetCommand()
.ExecuteWithCapturedOutput(outputDll)
.Should().Fail()
.And.HaveStdErrContaining($"Error: assembly specified in the dependencies manifest was not found probably due to missing runtime store associated with {targetManifestFileName} -- package: 'NuGet.Configuration',");
.And.HaveStdErrContaining($"Error:{Environment.NewLine}" +
$" An assembly specified in the application dependencies manifest (NuGetConfigDependentProject.deps.json) was not found:{Environment.NewLine}" +
$" package: 'NuGet.Configuration', version: '4.3.0-beta1-2418'{Environment.NewLine}" +
" path: 'lib/netstandard1.3/NuGet.Configuration.dll'");
}
[Fact]