diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-12-02 13:23:25 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-12-03 13:12:58 +0100 |
commit | d90e37e0c6e812f9913bf256c9c81aa05b7a08aa (patch) | |
tree | 7b1b14464eefec1188ca2eed53c64e4823453cc9 /lazy/init_test.go | |
parent | 32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff) | |
download | hugo-d90e37e0c6e812f9913bf256c9c81aa05b7a08aa.tar.gz hugo-d90e37e0c6e812f9913bf256c9c81aa05b7a08aa.zip |
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'lazy/init_test.go')
-rw-r--r-- | lazy/init_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lazy/init_test.go b/lazy/init_test.go index 772081b56..2051f6b1a 100644 --- a/lazy/init_test.go +++ b/lazy/init_test.go @@ -98,7 +98,6 @@ func TestInit(t *testing.T) { } _, err = branch1_2.Do() c.Assert(err, qt.IsNil) - }(i) wg.Wait() @@ -106,7 +105,6 @@ func TestInit(t *testing.T) { c.Assert(result, qt.Equals, "root(1)|root(2)|branch_1|branch_1_1|branch_1_2|branch_1_2_1|") } - } func TestInitAddWithTimeout(t *testing.T) { @@ -142,7 +140,6 @@ func TestInitAddWithTimeoutTimeout(t *testing.T) { c.Assert(err.Error(), qt.Contains, "timed out") time.Sleep(1 * time.Second) - } func TestInitAddWithTimeoutError(t *testing.T) { @@ -204,7 +201,6 @@ func TestInitBranchOrder(t *testing.T) { // V1 is A ab := state.V1 + "B" state.Add2(ab) - })) } |