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

feat: add TestDeepInGotOK allowing to test td.TestDeep operators #230

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

maxatome
Copy link
Owner

@maxatome maxatome commented Nov 15, 2022

TestDeepInGotOK allows to accept TestDeep operator in got Cmp* parameter. By default it is forbidden and a panic occurs, because most of the time it is a mistake to compare (expected, got) instead of official (got, expected).

@coveralls
Copy link

coveralls commented Nov 15, 2022

Coverage Status

Coverage increased (+0.0001%) to 99.862% when pulling 9027b39 on TestDeepInGotOK into 0cee04c on master.

TestDeepInGotOK flag allows to accept TestDeep operator in got Cmp*
parameter. By default it is forbidden and a panic occurs, because most
of the time it is a mistake to compare (expected, got) instead of
official (got, expected).

Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
@maxatome maxatome merged commit 57368f8 into master Nov 15, 2022
@maxatome maxatome deleted the TestDeepInGotOK branch November 15, 2022 15:29
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

Successfully merging this pull request may close these issues.

2 participants