Fix build3 tests.

This commit is contained in:
Eric Erhardt 2016-07-21 18:29:35 -05:00
parent 69619c0716
commit e908ffec91
2 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,8 @@
"netcoreapp1.0": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.0.0" "version": "1.0.0",
"type": "platform"
} }
} }
} }

View file

@ -21,10 +21,9 @@ namespace Microsoft.DotNet.Cli.Build3.Tests
var testProjectDirectory = testInstance.TestRoot; var testProjectDirectory = testInstance.TestRoot;
var build3Command = new TestCommand("dotnet"); new Build3Command()
build3Command.WorkingDirectory = testProjectDirectory; .WithWorkingDirectory(testProjectDirectory)
.Execute()
build3Command.ExecuteWithCapturedOutput("build3")
.Should() .Should()
.Pass(); .Pass();