Open
Description
Currently when spliting something like this:
expect { ... }.to raise_error StandardError
it produces:
expect do
...
end.to raise_error SomeError
Chaining on end
is usually considered bad syntax. The expected split would be:
expect {
...
}.to raise_error SomeError
In my opinion this should be the default, but if you wanted to keep it how it is for backwards compatibility an options would be nice to toggle this behavior.
Metadata
Metadata
Assignees
Labels
No labels