mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 07:38:36 +00:00
Update go-github library
This commit is contained in:
4
vendor/github.com/google/go-github/github/issues_timeline_test.go
generated
vendored
4
vendor/github.com/google/go-github/github/issues_timeline_test.go
generated
vendored
@@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func TestIssuesService_ListIssueTimeline(t *testing.T) {
|
||||
setup()
|
||||
client, mux, _, teardown := setup()
|
||||
defer teardown()
|
||||
|
||||
mux.HandleFunc("/repos/o/r/issues/1/timeline", func(w http.ResponseWriter, r *http.Request) {
|
||||
@@ -33,7 +33,7 @@ func TestIssuesService_ListIssueTimeline(t *testing.T) {
|
||||
t.Errorf("Issues.ListIssueTimeline returned error: %v", err)
|
||||
}
|
||||
|
||||
want := []*Timeline{{ID: Int(1)}}
|
||||
want := []*Timeline{{ID: Int64(1)}}
|
||||
if !reflect.DeepEqual(events, want) {
|
||||
t.Errorf("Issues.ListIssueTimeline = %+v, want %+v", events, want)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user