Skip to content

Commit

Permalink
Unit test leading underscore as IDENTs
Browse files Browse the repository at this point in the history
  • Loading branch information
otoolep committed Mar 26, 2015
1 parent 6627257 commit e07aeaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions influxql/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func TestScanner_Scan(t *testing.T) {

// Identifiers
{s: `foo`, tok: influxql.IDENT, lit: `foo`},
{s: `_foo`, tok: influxql.IDENT, lit: `_foo`},
{s: `Zx12_3U_-`, tok: influxql.IDENT, lit: `Zx12_3U_`},
{s: `"foo".bar`, tok: influxql.IDENT, lit: `"foo".bar`},
{s: `"foo\\bar"`, tok: influxql.IDENT, lit: `"foo\bar"`},
Expand Down

0 comments on commit e07aeaa

Please sign in to comment.