You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in this case the expected value must always be on the left-hand side.
So I propose that we follow the pattern of always having the expected on the left-hand side and the value being tested on the right, allowing us to keep the pattern between == and pattern matches.
The text was updated successfully, but these errors were encountered:
In the tests, we have the option to either do
or
While the first approach may be more intuitive, it is not possible to follow that order when using pattern matching. This is the only option:
So in this case the expected value must always be on the left-hand side.
So I propose that we follow the pattern of always having the expected on the left-hand side and the value being tested on the right, allowing us to keep the pattern between
==
and pattern matches.The text was updated successfully, but these errors were encountered: