aboutsummaryrefslogtreecommitdiff
path: root/hotline/transaction_test.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-03 19:24:08 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-03 14:24:08 -0700
commit5c34f8752938764668d829fb284626b9c62c5475 (patch)
tree85e6d1c802dcdf868b887cbc30944b44dfd462ea /hotline/transaction_test.go
parente75ba43a4e6032b94bf3a3fedf9f557f2c4969e4 (diff)
Ran `gofmt -w .`
Diffstat (limited to 'hotline/transaction_test.go')
-rw-r--r--hotline/transaction_test.go2
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,