Skip to content

Commit

Permalink
Running go fmt on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryamTaj committed Sep 29, 2024
1 parent b9f7093 commit 11448bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/http/direct_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
// "github.com/cloudevents/sdk-go/v2/types"
)


func TestSenderReceiver_binary_v1(t *testing.T) {
now := time.Now()

Expand Down Expand Up @@ -177,7 +176,7 @@ func TestSenderReceiver_data_base64_v1(t *testing.T) {
Header: map[string][]string{
"content-type": {"application/cloudevents+json"},
},
Body: fmt.Sprintf(`{"data_base64":"aGVsbG86IHVuaXR0ZXN0","id":"ABC-123","source":"/unit/test/client","specversion":"1.0","subject":"resource","time":%q,"type":"unit.test.client.sent"}`,now.Truncate(time.Second).Format(time.RFC3339) ),
Body: fmt.Sprintf(`{"data_base64":"aGVsbG86IHVuaXR0ZXN0","id":"ABC-123","source":"/unit/test/client","specversion":"1.0","subject":"resource","time":%q,"type":"unit.test.client.sent"}`, now.Truncate(time.Second).Format(time.RFC3339)),
ContentLength: 191,
},
},
Expand Down

0 comments on commit 11448bd

Please sign in to comment.