Skip to content

Commit

Permalink
Fixed typo in string method
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Ohlmeier committed Nov 19, 2024
1 parent b35f8db commit 56ab3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cc/acknowledgment.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Acknowledgment struct {

func (a Acknowledgment) String() string {
s := "ACK:\n"
s += fmt.Sprintf("\tTLCC:\t%v\n", a.SequenceNumber)
s += fmt.Sprintf("\tTWCC:\t%v\n", a.SequenceNumber)

Check warning on line 26 in internal/cc/acknowledgment.go

View check run for this annotation

Codecov / codecov/patch

internal/cc/acknowledgment.go#L26

Added line #L26 was not covered by tests
s += fmt.Sprintf("\tSIZE:\t%v\n", a.Size)
s += fmt.Sprintf("\tDEPARTURE:\t%v\n", int64(float64(a.Departure.UnixNano())/1e+6))
s += fmt.Sprintf("\tARRIVAL:\t%v\n", int64(float64(a.Arrival.UnixNano())/1e+6))
Expand Down

0 comments on commit 56ab3e2

Please sign in to comment.