forked from mirror/glob
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())
|
||
|
}
|