Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable.

This commit is contained in:
Todd Moscinski 2016-06-05 11:52:41 -07:00
parent e45259c6fa
commit 72ad34b566
4 changed files with 10 additions and 8 deletions

View file

@ -14,7 +14,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
private string _tempOutputDirectory;
private string _configuration;
private string _versionSuffix;
private string _serviceable;
private bool _serviceable;
private string OutputOption
{
@ -69,9 +69,9 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
{
get
{
return _serviceable == string.Empty ?
"" :
$"--serviceable";
return _serviceable ?
$"--serviceable" :
"";
}
}
@ -82,7 +82,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
string tempOutput="",
string configuration="",
string versionSuffix="",
string serviceable = "")
bool serviceable = false)
: base("dotnet")
{
_projectPath = projectPath;