From 98db99c48b07bc8f2083d957d26b0cecc2c39209 Mon Sep 17 00:00:00 2001 From: Devon Powley Date: Mon, 26 Sep 2022 17:18:54 -0400 Subject: [PATCH] Update GCS object versions --- get_gcs_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/get_gcs_test.go b/get_gcs_test.go index 534763c68..24029fb59 100644 --- a/get_gcs_test.go +++ b/get_gcs_test.go @@ -72,9 +72,9 @@ func TestGCSGetter_GetGenerationFile(t *testing.T) { dst := tempTestFile(t) defer os.RemoveAll(filepath.Dir(dst)) - // Download + // Download Previous Version err := g.GetFile( - dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1615905097179533")) + dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1664219586926715")) if err != nil { t.Fatalf("err: %s", err) } @@ -88,9 +88,9 @@ func TestGCSGetter_GetGenerationFile(t *testing.T) { t.Fatalf("expected file contents from generation to be `a` but got `%s`", content) } - // Download + // Download Current Version err = g.GetFile( - dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1615905174141919")) + dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1664226903901093")) if err != nil { t.Fatalf("err: %s", err) }