We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 904e81f commit fe04b59Copy full SHA for fe04b59
1 file changed
test/hash_test.go
@@ -579,13 +579,10 @@ func TestHash_EmptyCollections(t *testing.T) {
579
580
for _, tt := range tests {
581
t.Run(tt.name, func(t *testing.T) {
582
- hash, err := hashy.Hash(tt.value)
+ _, err := hashy.Hash(tt.value)
583
if err != nil {
584
t.Fatalf("Hash() error = %v", err)
585
}
586
- if hash < 0 {
587
- t.Error("Hash() returned zero")
588
- }
589
})
590
591
0 commit comments