From cb8025b4868fe8519176755482d375fcca662b79 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Mon, 22 Mar 2021 10:55:16 +0000 Subject: [PATCH] Fix typo The test's function name correctly labelled it as bad, but the comment conflicted with this. --- checkReturnValue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkReturnValue.go b/checkReturnValue.go index 0f6452c..493066c 100644 --- a/checkReturnValue.go +++ b/checkReturnValue.go @@ -108,7 +108,7 @@ func thenBranchGoodInterproceduralError() error { func thenBranchBadInterproceduralError() error { if errorSource() != ErrNone { - // Good: returning nil despite an error + // Bad: returning nil despite an error return getNil() } doSomething() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy