aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/verify_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/skate/verify_test.go b/skate/verify_test.go
index 3b6963c..519fcb5 100644
--- a/skate/verify_test.go
+++ b/skate/verify_test.go
@@ -59,11 +59,11 @@ func TestVerify(t *testing.T) {
if status == "" {
continue
}
- ar, err := parseRelease(a)
+ ar, err := testdataRelease(a)
if err != nil {
t.Errorf("could not load release: %s", a)
}
- br, err := parseRelease(b)
+ br, err := testdataRelease(b)
if err != nil {
t.Errorf("could not load release: %s", a)
}
@@ -74,8 +74,8 @@ func TestVerify(t *testing.T) {
}
}
-// parseRelease uses the testdata dir to load a release.
-func parseRelease(ident string) (*Release, error) {
+// testdataRelease uses the testdata dir to load a release.
+func testdataRelease(ident string) (*Release, error) {
filename := fmt.Sprintf("testdata/release/%s", ident)
data, err := ioutil.ReadFile(filename)
if err != nil {