Created
March 21, 2022 19:55
-
-
Save tychoish/165aeb4b1cb97f2077306667b32d14ef to your computer and use it in GitHub Desktop.
The Very Mature Code I Just Wrote
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func TestCleanupSUCKS(t *testing.T) { | |
t.Cleanup(func() { fmt.Println("cleanup") }) | |
defer func() { fmt.Println("defer") }() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment