Address PR feedback.
This commit is contained in:
parent
2ed81240fa
commit
5c6bf47e10
4 changed files with 15 additions and 5 deletions
|
@ -7,6 +7,6 @@
|
||||||
"NETStandard.Library": "1.5.0-rc2-24027"
|
"NETStandard.Library": "1.5.0-rc2-24027"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"netstandard1.3": {}
|
"netstandard1.5": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -44,17 +44,27 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void It_builds_projects_with_spaces_in_the_path()
|
public void It_builds_projects_with_xmlDoc_and_spaces_in_the_path()
|
||||||
{
|
{
|
||||||
var testInstance = TestAssetsManager
|
var testInstance = TestAssetsManager
|
||||||
.CreateTestInstance("TestLibrary With Spaces")
|
.CreateTestInstance("TestLibraryWithXmlDoc", identifier: "With Space")
|
||||||
.WithLockFiles();
|
.WithLockFiles();
|
||||||
|
|
||||||
new BuildCommand("")
|
testInstance.TestRoot.Should().Contain(" ");
|
||||||
|
|
||||||
|
var output = new DirectoryInfo(Path.Combine(testInstance.TestRoot, "output"));
|
||||||
|
|
||||||
|
new BuildCommand("", output: output.FullName, framework: DefaultLibraryFramework)
|
||||||
.WithWorkingDirectory(testInstance.TestRoot)
|
.WithWorkingDirectory(testInstance.TestRoot)
|
||||||
.ExecuteWithCapturedOutput()
|
.ExecuteWithCapturedOutput()
|
||||||
.Should()
|
.Should()
|
||||||
.Pass();
|
.Pass();
|
||||||
|
|
||||||
|
output.Should().HaveFiles(new[]
|
||||||
|
{
|
||||||
|
"TestLibraryWithXmlDoc.dll",
|
||||||
|
"TestLibraryWithXmlDoc.xml"
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue