diff options
author | Aditya Harindar <vijay.aah@zopsmart.com> | 2019-10-28 02:51:12 +0530 |
---|---|---|
committer | Brad Fitzpatrick <brad@danga.com> | 2019-10-27 14:21:12 -0700 |
commit | 611e8accdfc92c4187d399e95ce826046d4c8d73 (patch) | |
tree | 1bd0e06ee43cbaaf4fcffbcc071bbf1f0ec4f3d5 | |
parent | 4a4ac3fbac33b83bb138f808c8945a2812023fc4 (diff) | |
download | golang-groupcache-611e8accdfc92c4187d399e95ce826046d4c8d73.tar.gz |
format error string as per go style (#127)
-rw-r--r-- | singleflight/singleflight_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/singleflight/singleflight_test.go b/singleflight/singleflight_test.go index 47b4d3d..f1b6e11 100644 --- a/singleflight/singleflight_test.go +++ b/singleflight/singleflight_test.go @@ -40,7 +40,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 }) |