@@ -22,10 +22,10 @@ var (
2222 "master" : Branch {
2323 Meta : ExampleBranch ,
2424 Files : Files {
25- {Path : "deployments.yaml" , Content : YAML ([]string {"foo" , "bar" })},
26- {Path : "README.md" , Content : "blubber" },
27- {Path : "sub/foo.txt" , Content : "bar" },
28- {Path : "sub/bim.txt" , Content : "baz" },
25+ {Location : & gh. Location { Path : "deployments.yaml" } , Content : YAML ([]string {"foo" , "bar" })},
26+ {Location : & gh. Location { Path : "README.md" } , Content : "blubber" },
27+ {Location : & gh. Location { Path : "sub/foo.txt" } , Content : "bar" },
28+ {Location : & gh. Location { Path : "sub/bim.txt" } , Content : "baz" },
2929 },
3030 },
3131 },
@@ -89,8 +89,8 @@ func TestGetFiles(t *testing.T) {
8989 }
9090
9191 expected := []gh.File {
92- {Path : "deployments.yaml" , Content : "- foo\n - bar\n " },
93- {Path : "README.md" , Content : "blubber" },
92+ {Location : & gh. Location { Path : "deployments.yaml" } , Content : "- foo\n - bar\n " },
93+ {Location : & gh. Location { Path : "README.md" } , Content : "blubber" },
9494 }
9595
9696 if ! reflect .DeepEqual (files , expected ) {
@@ -107,8 +107,8 @@ func TestGetSubdirectoryFiles(t *testing.T) {
107107 }
108108
109109 expected := []gh.File {
110- {Path : "sub/foo.txt" , Content : "bar" },
111- {Path : "sub/bim.txt" , Content : "baz" },
110+ {Location : & gh. Location { Path : "sub/foo.txt" } , Content : "bar" },
111+ {Location : & gh. Location { Path : "sub/bim.txt" } , Content : "baz" },
112112 }
113113
114114 if ! reflect .DeepEqual (files , expected ) {
0 commit comments