mtg-price-bot/tests/prices_test.go
2020-09-22 10:45:22 +03:00

13 lines
259 B
Go

package tests
import (
"github.com/flygrounder/go-mtg-vk/cardsinfo"
"github.com/stretchr/testify/assert"
"testing"
)
func TestParser(t *testing.T) {
prices, err := cardsinfo.GetPrices("Scavenging Ooze")
assert.Nil(t, err)
assert.NotEmpty(t, prices)
}