Skip to content

Commit bcd5705

Browse files
committed
Fix tests
1 parent ee09dab commit bcd5705

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dependencies/dependencies_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ func TestLocal(t *testing.T) {
1515
}
1616

1717
func TestRemote(t *testing.T) {
18-
err := RemoteCheck("../testdata/remote.yaml")
18+
_, err := RemoteCheck("../testdata/remote.yaml")
1919
if err != nil {
2020
t.Errorf("Happy path local test returned: %v", err)
2121
}
2222
}
2323

2424
func TestDummyRemote(t *testing.T) {
25-
err := RemoteCheck("../testdata/remote-dummy.yaml")
25+
_, err := RemoteCheck("../testdata/remote-dummy.yaml")
2626
if err != nil {
2727
t.Errorf("Happy path local test returned: %v", err)
2828
}
2929
}
3030

3131
func TestRemoteConstraint(t *testing.T) {
32-
err := RemoteCheck("../testdata/remote-constraint.yaml")
32+
_, err := RemoteCheck("../testdata/remote-constraint.yaml")
3333
if err != nil {
3434
t.Errorf("Happy path local test returned: %v", err)
3535
}
@@ -61,7 +61,7 @@ func TestFileDoesntExist(t *testing.T) {
6161
}
6262

6363
func TestUnknownUpstreamFlavour(t *testing.T) {
64-
err := RemoteCheck("../testdata/unknown-upstream.yaml")
64+
_, err := RemoteCheck("../testdata/unknown-upstream.yaml")
6565
if err == nil {
6666
t.Errorf("Did not return an error when it should have")
6767
}

0 commit comments

Comments
 (0)