unistore: move continue to the resource package (#101206)

* minor improvements to tests

* move continue token

* update sql backend
This commit is contained in:
Georges Chaudy
2025-02-24 18:02:30 +02:00
committed by GitHub
parent 74632a25c3
commit e13bd52da6
5 changed files with 48 additions and 21 deletions
@@ -0,0 +1,15 @@
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())
}