We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af0890b commit 73ea7e5Copy full SHA for 73ea7e5
1 file changed
github/actions_variables_test.go
@@ -674,12 +674,14 @@ func TestActionVariable_Marshal(t *testing.T) {
674
want := fmt.Sprintf(`{
675
"name": "n",
676
"value": "v",
677
- "created_at": "%s",
678
- "updated_at": "%s",
+ "created_at": %s,
+ "updated_at": %s,
679
"visibility": "v",
680
"selected_repositories_url": "s",
681
- "selected_repositories_ids": [1,2,3]
+ "selected_repository_ids": [1,2,3]
682
}`, referenceTimeStr, referenceTimeStr)
683
684
+ fmt.Println(want)
685
+
686
testJSONMarshal(t, av, want)
687
}
0 commit comments