Skip to content
Snippets Groups Projects
Commit dd2970d0 authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix spelling error in error message

parent 1ceb41d6
No related branches found
No related tags found
1 merge request!510Release
......@@ -297,7 +297,7 @@ func newReceiveProgressCB(tid *ftCrypto.TransferID, fileName string,
m *ftE2e.Wrapper) ft.ReceivedProgressCallback {
return func(completed bool, received, total uint16,
rt ft.ReceivedTransfer, t ft.FilePartTracker, err error) {
jww.INFO.Printf("[FT] Receive progress callback for transfer %s "+
jww.INFO.Printf("[FT] Received progress callback for transfer %s "+
"{completed: %t, received: %d, total: %d, err: %v}",
tid, completed, received, total, err)
......
......@@ -140,7 +140,7 @@ func Test_FileTransfer_Smoke(t *testing.T) {
r.tid, receiveProgressCB, 0)
if err3 != nil {
t.Errorf(
"Failed to Rregister received progress callback: %+v", err3)
"Failed to register received progress callback: %+v", err3)
}
case <-time.After(2100 * time.Millisecond):
t.Errorf("Timed out waiting to receive new file transfer.")
......
......@@ -142,7 +142,7 @@ func Test_FileTransfer_Smoke(t *testing.T) {
r.tid, receiveProgressCB, 0)
if err3 != nil {
t.Errorf(
"Failed to Rregister received progress callback: %+v", err3)
"Failed to register received progress callback: %+v", err3)
}
case <-time.After(2100 * time.Millisecond):
t.Errorf("Timed out waiting to receive new file transfer.")
......
......@@ -127,7 +127,7 @@ func Test_FileTransfer_Smoke(t *testing.T) {
r.tid, receiveProgressCB, 0)
if err3 != nil {
t.Errorf(
"Failed to Rregister received progress callback: %+v", err3)
"Failed to register received progress callback: %+v", err3)
}
case <-time.After(2100 * time.Millisecond):
t.Errorf("Timed out waiting to receive new file transfer.")
......
......@@ -168,7 +168,7 @@ func Test_FileTransfer_Smoke(t *testing.T) {
tid, receiveProgressCB, 0)
if err3 != nil {
t.Errorf(
"Failed to Rregister received progress callback: %+v", err3)
"Failed to register received progress callback: %+v", err3)
}
case <-time.After(2100 * time.Millisecond):
t.Errorf("Timed out waiting to receive new file transfer.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment