pull/1576/head
Cory LaNou 2015-02-11 16:06:49 -07:00
parent 2e93fcef53
commit ecb145d15d
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ func TestPlanner_Plan_LastWithoutResults(t *testing.T) {
// Execute and compare with results.
rs := MustPlanAndExecute(NewDB(tx), `2000-01-01T12:00:00Z`,
`SELECT first(value) FROM cpu WHERE time >= '2000-01-01' GROUP BY time(1m)`)
`SELECT last(value) FROM cpu WHERE time >= '2000-01-01' GROUP BY time(1m)`)
if act := minify(jsonify(rs)); exp != act {
t.Fatalf("unexpected resultset: %s", act)
}