Fixed SCG prices
This commit is contained in:
parent
631213a412
commit
3919b21318
8 changed files with 51 additions and 199 deletions
|
|
@ -1,13 +1,15 @@
|
|||
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.GetSCGPrices("shock")
|
||||
prices, err := cardsinfo.GetPrices("shock")
|
||||
assert.Nil(t, err)
|
||||
assert.NotEmpty(t, prices)
|
||||
fmt.Println(prices)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue