Skip to content

Format correct messages for InvalidArgumentException - #17

Merged
lstrojny merged 1 commit into
InterNations:masterfrom
egils:master
Oct 9, 2017
Merged

Format correct messages for InvalidArgumentException #17
lstrojny merged 1 commit into
InterNations:masterfrom
egils:master

Conversation

@egils

@egils egils commented Oct 5, 2017

Copy link
Copy Markdown
Contributor

If single expectation given current message looks wrong: Invalid argument #2 $variable given: expected or string, got array.

This PR fixes this case and adds tests for the format of InvalidArgumentException messages.

@lstrojny
lstrojny merged commit e79817e into InterNations:master Oct 9, 2017
@lstrojny

lstrojny commented Oct 9, 2017

Copy link
Copy Markdown
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants