Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void FormatResultMessage_WithNoTests_IncludesWarning()

// Assert - THIS IS THE NEW FEATURE
Assert.IsTrue(
message.Contains("No tests matched") || message.Contains("no tests found"),
message.Contains("No tests matched"),
$"Expected warning when total=0, but got: '{message}'"
);
}
Expand All @@ -55,7 +55,7 @@ public void FormatResultMessage_WithTests_NoWarning()

// Assert
Assert.IsFalse(
message.Contains("No tests matched") || message.Contains("no tests found"),
message.Contains("No tests matched"),
$"Should not have warning when tests exist, but got: '{message}'"
);
Assert.IsTrue(message.Contains("4/5 passed"), "Should contain pass ratio");
Expand Down