Browse Source

fix broken test when switching IssuesRequest.Labels to slice pointer

Will Norris 11 years ago
parent
commit
a5a2cf2688
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      github/issues_test.go

+ 1
- 1
github/issues_test.go View File

@ -176,7 +176,7 @@ func TestIssuesService_Create(t *testing.T) {
Title: String("t"), Title: String("t"),
Body: String("b"), Body: String("b"),
Assignee: String("a"), Assignee: String("a"),
Labels: []string{"l1", "l2"},
Labels: &[]string{"l1", "l2"},
} }
mux.HandleFunc("/repos/o/r/issues", func(w http.ResponseWriter, r *http.Request) { mux.HandleFunc("/repos/o/r/issues", func(w http.ResponseWriter, r *http.Request) {


Loading…
Cancel
Save