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

Fix tests using macroexpand #117

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Fix tests using macroexpand #117

merged 1 commit into from
Jul 12, 2024

Conversation

omus
Copy link
Member

@omus omus commented Jul 11, 2024

Fixes these warnings when running the tests on Julia 1.7 and above:

┌ Warning: macroexpand no longer throws a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type!
│   caller = macro expansion at patch.jl:3 [inlined]
└ @ Core ~/.julia/dev/Mocking/test/patch.jl:3
┌ Warning: macroexpand no longer throws a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type!
│   caller = macro expansion at patch.jl:7 [inlined]
└ @ Core ~/.julia/dev/Mocking/test/patch.jl:7
┌ Warning: macroexpand no longer throws a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type!
│   caller = macro expansion at patch.jl:11 [inlined]
└ @ Core ~/.julia/dev/Mocking/test/patch.jl:11

@omus omus merged commit 5562f2f into master Jul 12, 2024
4 checks passed
@omus omus deleted the cv/fix-patch-tests branch July 12, 2024 21:12
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.

1 participant