aboutsummaryrefslogtreecommitdiff
path: root/hotline/transaction_handlers_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/transaction_handlers_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/transaction_handlers_test.go')
-rw-r--r--hotline/transaction_handlers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hotline/transaction_handlers_test.go b/hotline/transaction_handlers_test.go
index 81ba6e0..2420649 100644
--- a/hotline/transaction_handlers_test.go
+++ b/hotline/transaction_handlers_test.go
@@ -2858,7 +2858,7 @@ func TestHandleGetFileNameList(t *testing.T) {
NameScript: [2]byte{},
NameSize: [2]byte{0, 0x0b},
},
- name: []byte("testfile-1k"),
+ Name: []byte("testfile-1k"),
}
b, _ := io.ReadAll(&fnwi)
return b
@@ -3817,7 +3817,7 @@ func TestHandleNewNewsFldr(t *testing.T) {
wantErr: assert.NoError,
},
//{
- // name: "when there is an error writing the threaded news file",
+ // Name: "when there is an error writing the threaded news file",
// args: args{
// cc: &ClientConn{
// Account: &Account{