ソースを参照

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 3 年 前
コミット
62387b7625
1 ファイル変更1 行追加1 行削除
  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())
 		}
 		}
 	}
 	}
 }
 }