Add test for mscorlib duplication issue
This commit is contained in:
parent
bcc3094e01
commit
c42c60c56b
2 changed files with 26 additions and 0 deletions
|
@ -595,6 +595,21 @@ namespace Microsoft.DotNet.ProjectModel.Server.Tests
|
|||
afterDependencies.RetrieveDependency("ClassLibrary3");
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestMscorlibLibraryDuplication()
|
||||
{
|
||||
var projectPath = Path.Combine(RepoRoot, "TestAssets", "ProjectModelServer", "MscorlibLibraryDuplication");
|
||||
|
||||
using (var server = new DthTestServer(_loggerFactory))
|
||||
using (var client = new DthTestClient(server, _loggerFactory))
|
||||
{
|
||||
client.Initialize(projectPath);
|
||||
|
||||
var messages = client.DrainAllMessages();
|
||||
messages.AssertDoesNotContain(MessageTypes.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private static string NormalizePathString(string original)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue