diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-14 12:40:40 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-14 12:40:40 -0400 |
commit | 11b237597c6f74e9fc91b831a0aaf4bac9f81b44 (patch) | |
tree | aa302099b0b24a5f2f01ba423dcf8f9a726f7226 /sd_daemon | |
parent | 14993a8389e5dbf7e033a93c88c1e77077b209bb (diff) |
gofmt -s
Diffstat (limited to 'sd_daemon')
-rw-r--r-- | sd_daemon/log_test.go | 18 |
1 files changed, 9 insertions, 9 deletions
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 { |