mtg-price-bot/tests/prices_test.go
2020-09-22 11:40:54 +03:00

15 lines
287 B
Go

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