Skip to content

Conversation

Abirdcfly
Copy link
Contributor

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

Fatalf is equivalent to Logf followed by FailNow.

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

FailNow marks the function as having failed and stops its execution by calling runtime.Goexit (which then runs all deferred calls in the current goroutine).

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
@otoolep
Copy link
Member

otoolep commented Aug 9, 2022

Thank you for your contribution.

@otoolep otoolep merged commit 96f789b into rqlite:master Aug 9, 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