mtg-price-bot/tests/prices_test.go
2019-08-31 22:54:11 +03:00

13 lines
252 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.GetSCGPrices("shock")
assert.Nil(t, err)
assert.NotEmpty(t, prices)
}