This commit is contained in:
Gea-Suan Lin
2024-02-16 21:02:40 +08:00
parent 1de46569e8
commit 3dcd171227
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package tokenizer_test
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/gslin/go-ir-playground/internal/tokenizer"
)
func testTokenize(t *testing.T) {
a := tokenizer.Tokenize("test")
assert.Equal(t, len(a), 1)
assert.Equal(t, a[0], "test")
}