benbjohnson / benbjohnson/testing

too many arguments in call to append

Open
#4 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
538
Forks
37
PR merge metrics
No merged PRs in 30d

Description

After using your code for ages, suddenly started seeing this error:

```
./qthulhu_test.go:19: too many arguments in call to append
./qthulhu_test.go:19: append([]interface {} literal, v...) used as value
```

Which is this line:

```
fmt.Printf("\033[31m%s:%d: "+msg+"\033[39m\n\n", append([]interface{}{filepath.Base(file), line}, v...)...)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.