dbsize_test.go
dbsize_test.go - Overview
This file contains a test for the DBSIZE
command, verifying that it returns the correct number of keys in the database, including cases with expired and deleted keys.
Detailed Documentation
TestDBSIZE
- Purpose: Tests the
DBSIZE
command to check the database size in various scenarios. - Parameters:
t
:*testing.T
- Testing context.
- Returns: None