From 5c34f8752938764668d829fb284626b9c62c5475 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Tue, 3 Aug 2021 19:24:08 -0700 Subject: Ran `gofmt -w .` --- hotline/transaction_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline/transaction_test.go') diff --git a/hotline/transaction_test.go b/hotline/transaction_test.go index 227b9e0..4c7d372 100644 --- a/hotline/transaction_test.go +++ b/hotline/transaction_test.go @@ -151,7 +151,7 @@ func TestReadTransaction(t *testing.T) { { name: "when len(buf) is less than the length of the transaction", args: args{ - buf: sampleTransaction.Payload()[:len(sampleTransaction.Payload()) - 1], + buf: sampleTransaction.Payload()[:len(sampleTransaction.Payload())-1], }, want: nil, want1: 0, -- cgit