Skip to content

delete minor unreachable code caused by t.Fatal#780

Closed
Abirdcfly wants to merge 1 commit intotinode:masterfrom
Abirdcfly:master
Closed

delete minor unreachable code caused by t.Fatal#780
Abirdcfly wants to merge 1 commit intotinode:masterfrom
Abirdcfly:master

Conversation

@Abirdcfly
Copy link
Contributor

Signed-off-by: Abirdcfly fp544037857@gmail.com

https://pkg.go.dev/testing#T.Fatal

Fatal is equivalent to Log followed by FailNow.

so break will not run.

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
@aforge
Copy link
Contributor

aforge commented Aug 8, 2022

Thanks. Can you merge it into next (not master) please?

@Abirdcfly
Copy link
Contributor Author

Thanks. Can you merge it into next (not master) please?

sure. close this for support #781

@Abirdcfly Abirdcfly closed this Aug 8, 2022
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