-
Notifications
You must be signed in to change notification settings - Fork 62
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
Erlang/OTP 21 Tuple Call support removed #272
Comments
Hi, @tomciopp ! expect(smth).to eq(smth) And use this one: expect smth1 |> to(eq smth2) or this one:
I will investigate soon. |
I've attempted to run ESpec with OTP 21 but it immediately errors in the spec_helper file. It seems that the configuration itself requires tuple calls. |
Hi, guys! |
Hi! I've tested the master and it seemed fine. To make it work I had to remove old syntax from mocks so this example should be removed from README: context "with old syntax" do
before do: allow(SomeModule).to accept(:func, fn(a, b) -> a + b end)
it do: expect SomeModule.func(1, 2) |> to(eq 3)
end |
Thanks @bblaszkow06 ! |
Version 21 of erlang has removed support for tuple calls which breaks compatibility with ESpec. Any thoughts on a migration strategy?
The text was updated successfully, but these errors were encountered: