Skip to content

Commit

Permalink
fix: assert no error
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Sep 27, 2023
1 parent d6ff3e7 commit ebd0a71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/blob/fetch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ func testBlobFetcher(t *testing.T, when spec.G, it spec.S) {

testFile := files[0]
require.Equal(t, "some-file.txt", testFile.Name())
info, _ := testFile.Info()
info, err := testFile.Info()
require.NoError(t, err)
require.Equal(t, os.FileMode(0777).String(), info.Mode().String())

require.Contains(t, output.String(), "Successfully downloaded")
Expand Down

0 comments on commit ebd0a71

Please sign in to comment.