diff options
| -rw-r--r-- | testdata/signature.go | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/testdata/signature.go b/testdata/signature.go index 1cc466e..2606c22 100644 --- a/testdata/signature.go +++ b/testdata/signature.go @@ -60,6 +60,8 @@ func deferUsesUnconventionalErrName() error { // want "return signature should b  	return anErr  } +// TODO: This is starting to look like needless complexity. Maybe we just +// report that the error variable must be declared in the signature instead.  func multipleReturnValuesString() (string, error) { // want "return signature should be '\\(string1 string, err error\\)'"  	var err error = nil  	if err != nil { | 
