@@ -11,7 +11,7 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
1111 [ Collection ( TestConstants . UsesStaticTelemetryState ) ]
1212 public class GivenDotnetBuildInvocation : IClassFixture < NullCurrentSessionIdFixture >
1313 {
14- string [ ] ExpectedPrefix = [ "-maxcpucount" , "--verbosity:m" , "-tlp:default=auto" , "-nologo" ] ;
14+ string [ ] ExpectedPrefix = [ "-maxcpucount" , "--verbosity:m" , "-tlp:default=auto" , "-- nologo" ] ;
1515 public static string [ ] RestoreExpectedPrefixForImplicitRestore = [ .. RestoringCommand . RestoreOptimizationProperties . Select ( kvp => $ "--restoreProperty:{ kvp . Key } ={ kvp . Value } ") ] ;
1616 public static string [ ] RestoreExpectedPrefixForSeparateRestore = [ .. RestoringCommand . RestoreOptimizationProperties . Select ( kvp => $ "--property:{ kvp . Key } ={ kvp . Value } ") ] ;
1717
@@ -92,7 +92,7 @@ public void NoRestoreMeansNoSeparateRestoreCommand()
9292 new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" , "--verbosity:diag" , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ,
9393 new string [ ] { "--property:TargetFramework=tfm" , "--verbosity:diag" , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ) ]
9494 [ InlineData ( new string [ ] { "-f" , "tfm" , "-getItem:Compile" , "-getProperty:TargetFramework" , "-getTargetResult:Build" } ,
95- new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" , "-nologo" , "--verbosity:quiet" } ,
95+ new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" , "-- nologo" , "--verbosity:quiet" } ,
9696 new string [ ] { "--property:TargetFramework=tfm" , "--getItem:Compile" , "--getProperty:TargetFramework" , "--getTargetResult:Build" } ) ]
9797 public void MsbuildInvocationIsCorrectForSeparateRestore (
9898 string [ ] args ,
0 commit comments