mirror of https://github.com/gobwas/glob.git
14 lines
204 B
Go
14 lines
204 B
Go
|
package glob
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestParseString(t *testing.T) {
|
||
|
lexer := newLexer("hello")
|
||
|
fmt.Println(lexer.nextItem())
|
||
|
fmt.Println(lexer.nextItem())
|
||
|
fmt.Println(lexer.nextItem())
|
||
|
}
|