From f47174f06b9904b830268d46a7e817053b6235c8 Mon Sep 17 00:00:00 2001 From: Ian Gudger Date: Fri, 4 May 2018 14:15:24 -0700 Subject: Run gofmt -s on everything PiperOrigin-RevId: 195469901 Change-Id: I66d5c7a334bbb8b47e40d266a2661291c2d91c7f --- pkg/sentry/kernel/semaphore/semaphore_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/sentry/kernel') diff --git a/pkg/sentry/kernel/semaphore/semaphore_test.go b/pkg/sentry/kernel/semaphore/semaphore_test.go index 0386586ab..1c6a2e1e9 100644 --- a/pkg/sentry/kernel/semaphore/semaphore_test.go +++ b/pkg/sentry/kernel/semaphore/semaphore_test.go @@ -57,7 +57,7 @@ func TestBasic(t *testing.T) { ctx := contexttest.Context(t) set := &Set{ID: 123, sems: make([]sem, 1)} ops := []linux.Sembuf{ - linux.Sembuf{SemOp: 1}, + {SemOp: 1}, } executeOps(ctx, t, set, ops, false) @@ -78,7 +78,7 @@ func TestWaitForZero(t *testing.T) { ctx := contexttest.Context(t) set := &Set{ID: 123, sems: make([]sem, 1)} ops := []linux.Sembuf{ - linux.Sembuf{SemOp: 0}, + {SemOp: 0}, } executeOps(ctx, t, set, ops, false) @@ -117,7 +117,7 @@ func TestNoWait(t *testing.T) { ctx := contexttest.Context(t) set := &Set{ID: 123, sems: make([]sem, 1)} ops := []linux.Sembuf{ - linux.Sembuf{SemOp: 1}, + {SemOp: 1}, } executeOps(ctx, t, set, ops, false) @@ -146,7 +146,7 @@ func TestUnregister(t *testing.T) { } ops := []linux.Sembuf{ - linux.Sembuf{SemOp: -1}, + {SemOp: -1}, } chs := make([]chan struct{}, 0, 5) for i := 0; i < 5; i++ { -- cgit v1.2.3