aboutsummaryrefslogtreecommitdiff
path: root/hotline/transfer_test.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-15 11:13:16 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-15 11:13:16 -0700
commit95159e5585762c06c654945070ba54262b7dcec9 (patch)
tree23609018c1460b056ce22067290ea12ee851d483 /hotline/transfer_test.go
parenta6216dd89252fa01dc176f98f1e4ecfd3f637566 (diff)
Refactoring and cleanup
* Split CLI client into separate project * Convert more functions to follow common Golang idioms e.g io.Reader, io.Writer * Use ldflags for versioning * Misc cleanup and simplification
Diffstat (limited to 'hotline/transfer_test.go')
-rw-r--r--hotline/transfer_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hotline/transfer_test.go b/hotline/transfer_test.go
index 2bcee11..481e273 100644
--- a/hotline/transfer_test.go
+++ b/hotline/transfer_test.go
@@ -8,7 +8,7 @@ import (
"testing"
)
-func TestTransfer_Read(t *testing.T) {
+func TestTransfer_Write(t *testing.T) {
type fields struct {
Protocol [4]byte
ReferenceNumber [4]byte
@@ -146,7 +146,7 @@ func Test_receiveFile(t *testing.T) {
wantErr: assert.NoError,
},
// {
- // name: "transfers fileWrapper when there is a resource fork",
+ // Name: "transfers fileWrapper when there is a resource fork",
// args: args{
// conn: func() io.Reader {
// testFile := flattenedFileObject{