Skip to content

Fix the dot syntax issue#316

Open
amclain wants to merge 1 commit intoantonmi:mainfrom
amclain:fix-dot-syntax
Open

Fix the dot syntax issue#316
amclain wants to merge 1 commit intoantonmi:mainfrom
amclain:fix-dot-syntax

Conversation

@amclain
Copy link
Copy Markdown
Contributor

@amclain amclain commented Apr 5, 2026

This PR fixes the issue that was introduced in OTP 21 that caused the RSpec dot syntax to be deprecated. The dot syntax is:

expect(smth1).to eq(smth2)

@compile :tuple_calls was added in this PR to enable the prior functionality. I have also validated this does not cause backwards compatibility issues with OTP 20, although I had to compile from source because the tarballs are no longer available for version managers like asdf and mise, nor an image on DockerHub. Also due to this, it is unlikely old OTP versions would be an issue.

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