mset_test.go
mset_test.go - Overview
This file contains tests for the MSET
command in the ironhawk package. It verifies the functionality of setting multiple key-value pairs and handling errors related to the MSET
command.
Detailed Documentation
TestMset
- Purpose: Tests the basic functionality of the
MSET
command, including setting single and multiple key-value pairs, and handling incorrect argument counts. - Parameters:
t
(*testing.T): Testing object for running the test.
- Returns: None
TestMSETInconsistency
- Purpose: Tests the
MSET
command with different data types, focusing on potential inconsistencies. - Parameters:
t
(*testing.T): Testing object for running the test.
- Returns: None