mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-06-16 23:47:50 +02:00
Merge branch 'develop' of https://github.com/EvgenKostenko/go-jira into EvgenKostenko-develop
* 'develop' of https://github.com/EvgenKostenko/go-jira: cosmetic fix in boards imports, tests in projects add delete board with tests + go fmt add board create with tests go fmt boards Implement BoardService and get boards list with parameters remove old project Add boards and fix some bugs in project add boards service
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
||||
"net/http/httptest"
|
||||
"net/url"
|
||||
"reflect"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@ -52,7 +53,7 @@ func testMethod(t *testing.T, r *http.Request, want string) {
|
||||
}
|
||||
|
||||
func testRequestURL(t *testing.T, r *http.Request, want string) {
|
||||
if got := r.URL.String(); got != want {
|
||||
if got := r.URL.String(); !strings.HasPrefix(got, want) {
|
||||
t.Errorf("Request URL: %v, want %v", got, want)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user