2020-08-04 00:55:26 +02:00
|
|
|
package ytapi
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestChannelInfo(t *testing.T) {
|
2020-11-03 02:14:01 +01:00
|
|
|
info, err := ChannelInfo("UCNQfQvFMPnInwsU_iGYArJQ")
|
2020-08-04 00:55:26 +02:00
|
|
|
assert.NoError(t, err)
|
2020-11-03 02:14:01 +01:00
|
|
|
assert.NotNil(t, info)
|
2020-08-04 00:55:26 +02:00
|
|
|
}
|