Skip to content

Add missing overload for Assert.Throws #5619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025
Merged

Conversation

Youssef1313
Copy link
Member

Fixes #5618

@Youssef1313
Copy link
Member Author

/backport to rel/3.9

Copy link
Contributor

Started backporting to rel/3.9: https://github.com/microsoft/testfx/actions/runs/15157116021

@Youssef1313 Youssef1313 enabled auto-merge (squash) May 21, 2025 17:22
@Youssef1313
Copy link
Member Author

/backport to rel/3.9

Copy link
Contributor

Started backporting to rel/3.9: https://github.com/microsoft/testfx/actions/runs/15168597259

Copy link
Contributor

@Youssef1313 backporting to rel/3.9 failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Add missing overload for Assert.Throws
Applying: Update PublicAPI.Unshipped.txt
Using index info to reconstruct a base tree...
M	src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt
Falling back to patching base and 3-way merge...
Auto-merging src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt
CONFLICT (content): Merge conflict in src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0002 Update PublicAPI.Unshipped.txt
Error: The process '/usr/bin/git' failed with exit code 128

NOTE: A PR will be created, but needs to be revised manually!

@Youssef1313 Youssef1313 merged commit b44fb4e into main May 22, 2025
8 checks passed
@Youssef1313 Youssef1313 deleted the dev/ygerges/assert-throws branch May 22, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assert.Throws ambiguity between Func<object>, string and Action, AssertNonStrictThrowsInterpolatedStringHandler overloads
2 participants