Skip to content

Commit 656ea32

Browse files
Update test/Microsoft.NET.Build.Tests/ReferenceExeTests.cs
Co-authored-by: Daniel Plaisted <[email protected]>
1 parent 2cc87e7 commit 656ea32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public void SelfContainedExecutableCannotBeReferencedByNonSelfContainedMTPTestPr
412412
}
413413

414414
var result = new BuildCommand(Log, mtpProjectDirectory).Execute();
415-
result.Should().HaveStdOutContaining("NETSDK1151").And.ExitWith(1);
415+
result.Should().Fail().And.HaveStdOutContaining("NETSDK1151");
416416
}
417417

418418
[Theory]

0 commit comments

Comments
 (0)