Skip to content

Commit

Permalink
fix bucket_meat_test check error
Browse files Browse the repository at this point in the history
  • Loading branch information
gphper committed Apr 20, 2022
1 parent cff2846 commit ed7a26d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bucket_meta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ func (suite *BucketTestSuite) SetupSuite() {
if err != nil {
require.Failf(suite.T(), "init file fail", err.Error())
}
fd.WriteAt(suite.exceptEncode, 0)

_, err = fd.WriteAt(suite.exceptEncode, 0)
if err != nil {
require.Failf(suite.T(), "write data to file fail", err.Error())
}
defer fd.Close()
}

Expand Down

0 comments on commit ed7a26d

Please sign in to comment.