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 282a391 commit fdba708Copy full SHA for fdba708
github/repos_test.go
@@ -3127,3 +3127,19 @@ func TestPullRequestReviewsEnforcementUpdate_Marshal(t *testing.T) {
3127
3128
testJSONMarshal(t, u, want)
3129
}
3130
+
3131
+func TestRequiredStatusCheck_Marshal(t *testing.T) {
3132
+ testJSONMarshal(t, &RequiredStatusCheck{}, "{}")
3133
3134
+ u := &RequiredStatusCheck{
3135
+ Context: "ctx",
3136
+ AppID: Int64(1),
3137
+ }
3138
3139
+ want := `{
3140
+ "context": "ctx",
3141
+ "app_id": 1
3142
+ }`
3143
3144
+ testJSONMarshal(t, u, want)
3145
+}
0 commit comments