]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/transaction_test.go
Fix error message on logout
[rbdr/mobius] / hotline / transaction_test.go
index 227b9e0efe7a40583d8db495d10a22e8352c45d7..4c7d3725168b54f9c39719158fc53e8a5490da7e 100644 (file)
@@ -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,