Skip to content

Commit

Permalink
Fix incorrect field name, correct mistake where dates were doubled qu…
Browse files Browse the repository at this point in the history
…oted
  • Loading branch information
ResamVi committed Oct 1, 2023
1 parent af0890b commit 73ea7e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions github/actions_variables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -674,12 +674,14 @@ func TestActionVariable_Marshal(t *testing.T) {
want := fmt.Sprintf(`{
"name": "n",
"value": "v",
"created_at": "%s",
"updated_at": "%s",
"created_at": %s,
"updated_at": %s,
"visibility": "v",
"selected_repositories_url": "s",
"selected_repositories_ids": [1,2,3]
"selected_repository_ids": [1,2,3]
}`, referenceTimeStr, referenceTimeStr)

fmt.Println(want)

testJSONMarshal(t, av, want)
}

0 comments on commit 73ea7e5

Please sign in to comment.