Commit 50e70cf3 by Torkel Ödegaard

build: fixed unit test

parent fc878bc8
......@@ -25,7 +25,7 @@ func TestMacroEngine(t *testing.T) {
sql, err := engine.Interpolate("select min($__time(time_column))")
So(err, ShouldBeNil)
So(sql, ShouldEqual, "select min(UNIX_TIMESTAMP(time_column)) as time_sec)")
So(sql, ShouldEqual, "select min(UNIX_TIMESTAMP(time_column) as time_sec)")
})
Convey("interpolate __timeFilter function", func() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment