Skip to content
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

Changes made between 4.14.7 and 4.15.1 break exception handling #1519

Open
jnanneng2 opened this issue Sep 24, 2024 · 1 comment
Open

Changes made between 4.14.7 and 4.15.1 break exception handling #1519

jnanneng2 opened this issue Sep 24, 2024 · 1 comment
Labels

Comments

@jnanneng2
Copy link

jnanneng2 commented Sep 24, 2024

Describe the Bug

Changes made to Moq between 4.14.7 and 4.15.1 break application exception handling.

Steps to Reproduce

Using the attached MoqTestScenario.zip, build the project then run the test in UnitTest1. Note, the test succeeds (the project is configured to Moq v4.14.7).

Update the Moq version to 4.15.1:
(Right click the project, then Manage NuGet packages. Within the installed packages, select Moq, select version 4.15.1, then 'Update', etc...)

Rebuild the solution, run the test. Note the test now fails.

Expected Behavior

The test noted should still pass; i.e. not encounter any failure.

Version Info

MoqTestScenario.zip

Back this issue
Back this issue

@jnanneng2 jnanneng2 added the bug label Sep 24, 2024
@jnanneng2 jnanneng2 changed the title Changes made between 4.14.7 and 4.15.1 break exception Changes made between 4.14.7 and 4.15.1 break exception handling Sep 25, 2024
@kzu
Copy link
Member

kzu commented Sep 27, 2024

Consider funding this issue if it's important to you. I'd gladly take a PR too.

The repro is hardly minimal.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants