Bitshift
This commit is contained in:
@@ -35,6 +35,7 @@ func TestNextToken(t *testing.T) {
|
||||
d.foo
|
||||
&|^~
|
||||
!&&||
|
||||
<<>>
|
||||
`
|
||||
|
||||
tests := []struct {
|
||||
@@ -146,6 +147,8 @@ func TestNextToken(t *testing.T) {
|
||||
{token.NOT, "!"},
|
||||
{token.AND, "&&"},
|
||||
{token.OR, "||"},
|
||||
{token.LEFT_SHIFT, "<<"},
|
||||
{token.RIGHT_SHIFT, ">>"},
|
||||
{token.EOF, ""},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user