Skip to content

Commit

Permalink
fix #2944: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dgnorton committed Jun 16, 2015
1 parent 4911f1f commit 542439b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/statement_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func TestStatementExecutor_ExecuteStatement_CreateContinuousQuery(t *testing.T)
t.Fatalf("unexpected database: %s", database)
} else if name != "cq0" {
t.Fatalf("unexpected name: %s", name)
} else if query != `SELECT count(*) INTO db1 FROM db0 GROUP BY time(1h)` {
} else if query != `CREATE CONTINUOUS QUERY cq0 ON db0 BEGIN SELECT count(*) INTO db1 FROM db0 GROUP BY time(1h) END` {
t.Fatalf("unexpected query: %s", query)
}
return nil
Expand Down

0 comments on commit 542439b

Please sign in to comment.