hlen_test.go
hlen_test.go - Overview
This file contains tests for the HLEN
command, verifying that it correctly returns the number of fields in a hash.
Detailed Documentation
TestHLEN
- Purpose: Tests the
HLEN
command with various valid and invalid inputs. - Parameters:
t
:*testing.T
- Testing context.
- Returns: None