Skip to content

Commit 0ce9ca4

Browse files
committed
Update crash summary expectation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3c3b90fe-16c9-4122-9d31-caba5e1f8972
1 parent f5b67c0 commit 0ce9ca4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/dotnet.Tests/CommandTests/Test/GivenDotnetTestBuildsAndRunsTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,7 @@ at Microsoft.DotNet.Cli.Commands.Test.TestApplicationActionQueue.Read(BuildOptio
698698

699699
result.StdErr.Should().Contain("System.InvalidOperationException: A test session start event was received without a corresponding test session end.");
700700

701-
// TODO: It's much better to introduce a new kind of "summary" indicating
702-
// that the test app exited with zero exit code before sending test session end event
703-
result.StdOut.Should().Contain("Test run summary: Passed!")
701+
result.StdOut.Should().Contain("Test run summary: Failed!")
704702
.And.Contain("total: 1")
705703
.And.Contain("succeeded: 1")
706704
.And.Contain("failed: 0")

0 commit comments

Comments
 (0)