From 90520beb70bb383d6ca6b0d0f26d1c7358287a03 Mon Sep 17 00:00:00 2001 From: David Norton Date: Mon, 15 Jun 2015 09:24:53 -0400 Subject: [PATCH] fix #2944: update unit test --- meta/statement_executor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/statement_executor_test.go b/meta/statement_executor_test.go index 3b9a9c6db2f..1e35d4ebbc5 100644 --- a/meta/statement_executor_test.go +++ b/meta/statement_executor_test.go @@ -560,7 +560,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