From 11b237597c6f74e9fc91b831a0aaf4bac9f81b44 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 14 May 2017 12:40:40 -0400 Subject: gofmt -s --- sd_daemon/log_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sd_daemon') diff --git a/sd_daemon/log_test.go b/sd_daemon/log_test.go index d9937e2..2f835a8 100644 --- a/sd_daemon/log_test.go +++ b/sd_daemon/log_test.go @@ -40,16 +40,16 @@ func TestLog(t *testing.T) { } testcases := map[testcase]string{ - testcase{6, "foo"}: "<6>foo\n", - testcase{6, "foo\n"}: "<6>foo\n", - testcase{6, "foo\nbar"}: "<6>foo\n<6>bar\n", - testcase{6, "foo\nbar\n"}: "<6>foo\n<6>bar\n", - testcase{6, "foo\nbar\nbaz"}: "<6>foo\n<6>bar\n<6>baz\n", - testcase{6, "foo\nbar\nbaz\n"}: "<6>foo\n<6>bar\n<6>baz\n", + {6, "foo"}: "<6>foo\n", + {6, "foo\n"}: "<6>foo\n", + {6, "foo\nbar"}: "<6>foo\n<6>bar\n", + {6, "foo\nbar\n"}: "<6>foo\n<6>bar\n", + {6, "foo\nbar\nbaz"}: "<6>foo\n<6>bar\n<6>baz\n", + {6, "foo\nbar\nbaz\n"}: "<6>foo\n<6>bar\n<6>baz\n", - testcase{0, "foo"}: "<0>foo\n", - testcase{1, "foo"}: "<1>foo\n", - testcase{10, "foo"}: "<10>foo\n", + {0, "foo"}: "<0>foo\n", + {1, "foo"}: "<1>foo\n", + {10, "foo"}: "<10>foo\n", } for in, out := range testcases { -- cgit v1.2.3-54-g00ecf