Explorar o código

minor change: more accurate variable name (#8449)

Prasanna Gautam %!s(int64=8) %!d(string=hai) anos
pai
achega
6541ffe045
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pkg/tsdb/time_range_test.go

+ 2 - 2
pkg/tsdb/time_range_test.go

@@ -52,8 +52,8 @@ func TestTimeRange(t *testing.T) {
 			})
 
 			Convey("now-10m ", func() {
-				fiveMinAgo, _ := time.ParseDuration("-10m")
-				expected := now.Add(fiveMinAgo)
+				tenMinAgo, _ := time.ParseDuration("-10m")
+				expected := now.Add(tenMinAgo)
 				res, err := tr.ParseTo()
 				So(err, ShouldBeNil)
 				So(res.Unix(), ShouldEqual, expected.Unix())