Skip to content

Commit

Permalink
Update fetch_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: ollie-kane-CB <[email protected]>
  • Loading branch information
ollie-kane-CB authored Oct 15, 2024
1 parent f1a95e4 commit f8b073d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/fetch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func testGitCheckout(t *testing.T, when spec.G, it spec.S) {

it("returns error on non-existent ref", func() {
err := fetcher.Fetch(testDir, "https://github.com/git-fixtures/basic", "doesnotexist", metadataDir)
require.EqualError(t, err, "resolving revision: reference not found")
require.EqualError(t, err, "unable to fetch references for repository: couldn't find remote ref \"doesnotexist\"")
})

it("preserves symbolic links", func() {
Expand Down

0 comments on commit f8b073d

Please sign in to comment.