ryan 7 years ago
parent
commit
1c9ebd5bd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/tsdb/postgres/macros_test.go

+ 1 - 1
pkg/tsdb/postgres/macros_test.go

@@ -85,7 +85,7 @@ func TestMacroEngine(t *testing.T) {
 			So(sql, ShouldEqual, "select 18446744066914187038")
 		})
 
-		timeRange := &tsdb.TimeRange{From: "-315622800000", To: "315529200000"} // 1960-1980
+		timeRange = &tsdb.TimeRange{From: "-315622800000", To: "315529200000"} // 1960-1980
 		Convey("interpolate __timeFilter function before epoch", func() {
 			sql, err := engine.Interpolate(query, timeRange, "WHERE $__timeFilter(time_column)")
 			So(err, ShouldBeNil)