Skip to content

Commit

Permalink
style: remove uneccesary trailing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaranski committed Dec 13, 2024
1 parent 9df26ce commit 0715e6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fileshare/event_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func (mn *mockNotifier) SendNotification(summary string, body string, actions []
default:
<-mn.updateCh
mn.updateCh <- struct{}{}

}
}
return notificationID, nil
Expand Down Expand Up @@ -433,7 +432,7 @@ func TestTransferProgress(t *testing.T) {
assert.Equal(t, pb.Status_SUCCESS, progressEvent.Status)

waitGroup.Wait()
eventManager.mutex.Lock() // required so that go test -race doesn't fail, normally it's not needed
eventManager.mutex.Lock() // required so that go test -race doesn't fail, normal functions used in production use mutex anyways
_, ok := eventManager.transferSubscriptions[transferID]
assert.False(t, ok) // expect subscriber to be removed
_, ok = eventManager.liveTransfers[transferID]
Expand Down

0 comments on commit 0715e6b

Please sign in to comment.