Skip to content

Commit b0984dc

Browse files
Add test case in TestAuditEntry_Marshal
1 parent b04e0e6 commit b0984dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github/orgs_audit_log_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ func TestAuditEntry_Marshal(t *testing.T) {
239239
t.Parallel()
240240
testJSONMarshal(t, &AuditEntry{}, "{}")
241241

242+
testJSONMarshal(t, &AuditEntry{AdditionalFields: map[string]interface{}{}}, "{}")
243+
242244
u := &AuditEntry{
243245
Action: Ptr("a"),
244246
Actor: Ptr("ac"),

0 commit comments

Comments
 (0)