Unit test leading underscore as IDENTs

pull/2084/head
Philip O'Toole 2015-03-26 13:08:20 -07:00
parent 6627257f44
commit e07aeaa030
1 changed files with 1 additions and 0 deletions

View File

@ -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"`},