Skip to content

Commit fe04b59

Browse files
committed
♻️ refactor: update codebase #2
1 parent 904e81f commit fe04b59

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/hash_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,13 +579,10 @@ func TestHash_EmptyCollections(t *testing.T) {
579579

580580
for _, tt := range tests {
581581
t.Run(tt.name, func(t *testing.T) {
582-
hash, err := hashy.Hash(tt.value)
582+
_, err := hashy.Hash(tt.value)
583583
if err != nil {
584584
t.Fatalf("Hash() error = %v", err)
585585
}
586-
if hash < 0 {
587-
t.Error("Hash() returned zero")
588-
}
589586
})
590587
}
591588
}

0 commit comments

Comments
 (0)