diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 19:24:08 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 14:24:08 -0700 |
| commit | 5c34f8752938764668d829fb284626b9c62c5475 (patch) | |
| tree | 85e6d1c802dcdf868b887cbc30944b44dfd462ea /hotline/transaction_test.go | |
| parent | e75ba43a4e6032b94bf3a3fedf9f557f2c4969e4 (diff) | |
Ran `gofmt -w .`
Diffstat (limited to 'hotline/transaction_test.go')
| -rw-r--r-- | hotline/transaction_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |