Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove panic calls from custom assertions #2

Closed
lukebayes opened this issue Mar 21, 2018 · 1 comment
Closed

Remove panic calls from custom assertions #2

lukebayes opened this issue Mar 21, 2018 · 1 comment

Comments

@lukebayes
Copy link
Owner

Update custom assertions so that they do not call panic directly.

These should return or trigger a test failure.

If it's what is required, we can pass the testing.T reference into these assertions and simply call t.Error or t.Errorf.

@lukebayes
Copy link
Owner Author

Added this to the wrong project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant