Unit test leading underscore as IDENTs
parent
6627257f44
commit
e07aeaa030
|
@ -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"`},
|
||||
|
|
Loading…
Reference in New Issue