Explorar o código

Update pkg/kubecost/asset_test.go

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: Sean Holcomb <sean@kubecost.com>
Sean Holcomb %!s(int64=3) %!d(string=hai) anos
pai
achega
62387b7625
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/kubecost/asset_test.go

+ 1 - 1
pkg/kubecost/asset_test.go

@@ -1681,7 +1681,7 @@ func TestAssetSetRange_AccumulateBy_Month(t *testing.T) {
 
 
 	for _, as := range asr.Assets {
 	for _, as := range asr.Assets {
 		if as.Window.Duration() < time.Hour*24 || as.Window.Duration() > time.Hour*24*31 {
 		if as.Window.Duration() < time.Hour*24 || as.Window.Duration() > time.Hour*24*31 {
-			t.Fatalf("expected window duration to be between 1 and 7 days, got:%s", as.Window.Duration().String())
+			t.Fatalf("expected window duration to be between 1 and 31 days, got:%s", as.Window.Duration().String())
 		}
 		}
 	}
 	}
 }
 }