Skip to content

Commit

Permalink
revert ut
Browse files Browse the repository at this point in the history
  • Loading branch information
karenychen committed Aug 20, 2024
1 parent 1ab6b07 commit 865d9e1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions v2/sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@ func TestFunc_NewSender(t *testing.T) {
if sender.options.Marshaller != marshaller {
t.Errorf("failed to set marshaller, expected: %s, actual: %s", reflect.TypeOf(marshaller), reflect.TypeOf(sender.options.Marshaller))
}

sender = NewSender(nil, &SenderOptions{EnableTracingPropagation: true})
if sender.options.Marshaller == nil {
t.Errorf("failed to set marshaller")
}
if !sender.options.EnableTracingPropagation {
t.Errorf("failed to set EnableTracingPropagation, expected: true, actual: %t", sender.options.EnableTracingPropagation)
}
if sender.options.SendTimeout != defaultSendTimeout {
t.Errorf("failed to set SendTimeout, expected: %s, actual: %s", defaultSendTimeout, sender.options.SendTimeout)
}
}

func TestHandlers_SetMessageId(t *testing.T) {
Expand Down

0 comments on commit 865d9e1

Please sign in to comment.