From e07aeaa0306d4b57a15239d70772fc85c6e93d20 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Thu, 26 Mar 2015 13:08:20 -0700 Subject: [PATCH] Unit test leading underscore as IDENTs --- influxql/scanner_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/influxql/scanner_test.go b/influxql/scanner_test.go index ba5d7e25fda..e1283f8a2b6 100644 --- a/influxql/scanner_test.go +++ b/influxql/scanner_test.go @@ -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"`},