Skip to content

Commit d2fd9ca

Browse files
Copilotbaronfel
andcommitted
Add --verbosity:minimal to NoWarn test to prevent false positive
Co-authored-by: baronfel <573979+baronfel@users.noreply.github.com>
1 parent 1f910a2 commit d2fd9ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.NET.Build.Tests/GivenThatWeWantToWarnAboutMacOSAppNames.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void It_can_be_suppressed_with_NoWarn()
138138
var buildCommand = new BuildCommand(testAsset);
139139

140140
buildCommand
141-
.Execute("/p:RuntimeIdentifier=osx-x64", "/p:NoWarn=NETSDK1234")
141+
.Execute("/p:RuntimeIdentifier=osx-x64", "/p:NoWarn=NETSDK1234", "--verbosity:minimal")
142142
.Should()
143143
.Pass()
144144
.And.NotHaveStdOutContaining("NETSDK1234");

0 commit comments

Comments
 (0)