mirror of https://github.com/grafana/grafana.git
16 lines
258 B
Go
16 lines
258 B
Go
|
|
package resource
|
||
|
|
|
||
|
|
import (
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
"github.com/stretchr/testify/assert"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestContinueToken(t *testing.T) {
|
||
|
|
token := &ContinueToken{
|
||
|
|
ResourceVersion: 100,
|
||
|
|
StartOffset: 50,
|
||
|
|
}
|
||
|
|
assert.Equal(t, "eyJvIjo1MCwidiI6MTAwfQ==", token.String())
|
||
|
|
}
|