Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 committed Jan 18, 2024
1 parent d9e92da commit 3562b0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fanout/reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func TestFanoutRead(t *testing.T) {
sum2str := hex.EncodeToString(sum2)
sum3str := hex.EncodeToString(sum3)

if !(sum1str == sum2str && sum1str == sum3str) {
t.Errorf("Sum1 %s and sum2 %s and sum3 %s are not the same", sum1str, sum2str, sum3str)
if sum1str != sum2str || sum1str != sum3str {
t.Errorf("Sum1 %s, Sum2 %s, and Sum3 %s are not all the same", sum1str, sum2str, sum3str)
}

if sum1str != sha2sum {
Expand Down
2 changes: 1 addition & 1 deletion io/fileutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func CreateRandomLenFile(maxLen int, filesDir string, prefix string) string {
panic(err)
}
defer created.Close()
//Check that the files were created with expected len
// Check that the files were created with expected len
if created.Info.Size() != int64(len) {
panic(fmt.Errorf("unexpected file length. Expected: %d, Got %d", created.Info.Size(), len))
}
Expand Down

0 comments on commit 3562b0f

Please sign in to comment.