We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fed7d7 commit 9440b9dCopy full SHA for 9440b9d
events/kafka_test.go
@@ -40,14 +40,14 @@ func TestKafkaEventMarshaling(t *testing.T) {
40
}
41
42
43
- // 3. serialize to JSON
44
- outputJson, err := json.Marshal(inputEvent)
45
- if err != nil {
46
- t.Errorf("could not marshal event. details: %v", err)
47
- }
48
-
49
- // 4. check result
50
- assert.JSONEq(t, string(inputJson), string(outputJson))
+ // 3. serialize to JSON
+ outputJson, err := json.Marshal(inputEvent)
+ if err != nil {
+ t.Errorf("could not marshal event. details: %v", err)
+ }
+
+ // 4. check result
+ assert.JSONEq(t, string(inputJson), string(outputJson))
51
52
53
func TestKafkaMarshalingMalformedJson(t *testing.T) {
0 commit comments