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 the build #330

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Fix the build #330

merged 1 commit into from
Dec 5, 2024

Conversation

tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Dec 5, 2024

Broken by cbb669b

@@ -219,7 +219,7 @@ def test_patch_called_with_alias_method_instrument
Object.stub_const(:Dalli, Module) do
::Dalli.stub_const(:Client) do
mock = Minitest::Mock.new
mock.expect :call, nil, [Dalli::Client, Array, :memcache, { instrument: :alias_method }]
mock.expect :call, nil, [Dalli::Client, Array, :memcache], instrument: :alias_method
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't 100% know my way around but if we reference the other lines this fixes the build

Copy link

@martin-brennan martin-brennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes the ability to leave out parenthesis in ruby is really not helpful 😬

@tgxworld tgxworld merged commit 4e21b4c into main Dec 5, 2024
11 checks passed
@tgxworld tgxworld deleted the fix_tests branch December 5, 2024 00:29
@tgxworld
Copy link
Contributor Author

tgxworld commented Dec 5, 2024

Thank you @martin-brennan 👍

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

Successfully merging this pull request may close these issues.

2 participants