From 24838ab2a7c65988d2b3f10e984ebd2b0dbce6ab Mon Sep 17 00:00:00 2001 From: Daniel Selans Date: Mon, 1 Jan 2018 23:15:14 -0800 Subject: [PATCH] gofmt -s on health_test.go --- health_test.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/health_test.go b/health_test.go index 494df33..391e969 100644 --- a/health_test.go +++ b/health_test.go @@ -118,7 +118,7 @@ func TestFailed(t *testing.T) { checker1.StatusReturns(nil, nil) cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, @@ -151,7 +151,7 @@ func TestFailed(t *testing.T) { checker1.StatusReturns(nil, fmt.Errorf("things broke")) cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, @@ -187,7 +187,7 @@ func TestState(t *testing.T) { checker1.StatusReturns(nil, fmt.Errorf("things broke")) cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, @@ -217,7 +217,7 @@ func TestState(t *testing.T) { checker1.StatusReturns(nil, fmt.Errorf("things broke")) cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, @@ -252,13 +252,13 @@ func TestStart(t *testing.T) { checker2 := &fakes.FakeICheckable{} cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, Fatal: false, }, - &Config{ + { Name: "bar", Checker: checker2, Interval: testCheckInterval, @@ -383,13 +383,13 @@ func TestStartRunner(t *testing.T) { checker2.StatusReturns(nil, checker2Error) cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, Fatal: false, }, - &Config{ + { Name: "bar", Checker: checker2, Interval: testCheckInterval, @@ -427,13 +427,13 @@ func TestStartRunner(t *testing.T) { checker2.StatusReturns(nil, checker2Err) cfgs := []*Config{ - &Config{ + { Name: "foo", Checker: checker1, Interval: testCheckInterval, Fatal: false, }, - &Config{ + { Name: "bar", Checker: checker2, Interval: testCheckInterval,