Skip to content

Don't silently ignore expressions #2

@pupeno

Description

@pupeno

Currently if you do something like

assert_difference "Exp1", "Exp2" do
  foo
end

Exp2 is ignored because it's taken as the error message. Instead one should write

assert_difference ["Exp1", "Exp2"] do
  foo
end

but there's no error pushing one to write it the correct way. Fix the API so this thing cannot happen.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions