This commit is contained in:
irlndts 2018-03-12 19:31:50 +03:00
parent d1095bc769
commit 69ef2a5d9a

View File

@ -9,23 +9,12 @@ const (
testToken = ""
)
func check(t *testing.T, e error) {
if e != nil {
t.Error(e)
}
}
func assert(t *testing.T, condition bool, assertion string) {
if !condition {
t.Errorf("Assertion failed: %v", assertion)
}
}
func initDiscogsClient(t *testing.T, options *Options) *Client {
if options == nil {
options = &Options{
UserAgent: testUserAgent,
Currency: "USD",
Token: testToken,
}
}