Fix parser tests

pull/1366/head
Paul Dix 2015-01-25 17:51:51 -05:00
parent e7c8b55577
commit c524d9afe5
1 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ func TestParser_ParseStatement(t *testing.T) {
{
s: `CREATE DATABASE testdb`,
stmt: &influxql.CreateDatabaseStatement{
Database: "testdb",
Name: "testdb",
},
},
@ -364,7 +364,7 @@ func TestParser_ParseStatement(t *testing.T) {
// DROP DATABASE statement
{
s: `DROP DATABASE testdb`,
stmt: &influxql.DropDatabaseStatement{Database: "testdb"},
stmt: &influxql.DropDatabaseStatement{Name: "testdb"},
},
// DROP RETENTION POLICY