Skip to content

Commit e7c9a3a

Browse files
committed
Update file contents and version pointers
1 parent 98db99c commit e7c9a3a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

get_gcs_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func TestGCSGetter_GetGenerationFile(t *testing.T) {
7474

7575
// Download Previous Version
7676
err := g.GetFile(
77-
dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1664219586926715"))
77+
dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1664282135302009"))
7878
if err != nil {
7979
t.Fatalf("err: %s", err)
8080
}
@@ -84,13 +84,13 @@ func TestGCSGetter_GetGenerationFile(t *testing.T) {
8484
if err != nil {
8585
t.Fatalf("err: %s", err)
8686
}
87-
if string(content) != "a\n" {
88-
t.Fatalf("expected file contents from generation to be `a` but got `%s`", content)
87+
if string(content) != "old\n" {
88+
t.Fatalf("expected file contents from generation to be `old` but got `%s`", content)
8989
}
9090

9191
// Download Current Version
9292
err = g.GetFile(
93-
dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1664226903901093"))
93+
dst, testURL("https://www.googleapis.com/storage/v1/hc-go-getter-test/go-getter/versioned.txt#1664282167903672"))
9494
if err != nil {
9595
t.Fatalf("err: %s", err)
9696
}
@@ -100,8 +100,8 @@ func TestGCSGetter_GetGenerationFile(t *testing.T) {
100100
if err != nil {
101101
t.Fatalf("err: %s", err)
102102
}
103-
if string(content) != "b\n" {
104-
t.Fatalf("expected file contents from generation to be `b` but got `%s`", content)
103+
if string(content) != "new\n" {
104+
t.Fatalf("expected file contents from generation to be `new` but got `%s`", content)
105105
}
106106

107107
}

0 commit comments

Comments
 (0)