mirror of
https://github.com/golang/go
synced 2024-11-05 11:56:12 -07:00
format someErr
This commit is contained in:
parent
4f70c151db
commit
6ca1b3edb4
@ -28,7 +28,7 @@ func TestDo(t *testing.T) {
|
||||
|
||||
func TestDoErr(t *testing.T) {
|
||||
var g Group
|
||||
someErr := errors.New("Some error")
|
||||
someErr := errors.New("some error")
|
||||
v, err, _ := g.Do("key", func() (interface{}, error) {
|
||||
return nil, someErr
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user