This repository has been archived on 2023-04-13. You can view files and clone it, but cannot push or open issues or pull requests.
go-discogs/discogs_test.go

18 lines
240 B
Go
Raw Normal View History

2016-03-10 14:25:55 +00:00
package discogs
import (
"testing"
)
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)
}
}