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
Cannot have a trailing ,, even though there's no ) on that last line, otherwise it results in a parse error.
Here's the failing spec to help you out:
context'when EnforcedStyleForMultiline is comma'doit'accepts a method call with Hash as last parameter split on multiple lines'doinspect_source(cop,['some_method(a: "b",',' c: "d")'])expect(cop.offenses).tobe_emptyendend
The text was updated successfully, but these errors were encountered:
I noticed a bug from the fix that @jonas054 did in #1075. Unfortunately this is still registering an offense:
Even when I have the config set like so:
I may be wrong, but it seems like params to a method call may need to be handled differently to just a regular hash since:
Cannot have a trailing
,
, even though there's no)
on that last line, otherwise it results in a parse error.Here's the failing spec to help you out:
The text was updated successfully, but these errors were encountered: