Skip to main content

del_test.go

del_test.go - Overview

This file contains tests for the DEL command in the Ironhawk package. It tests the deletion of keys and the expected responses.

Detailed Documentation

Function: TestDEL

Purpose: Tests the DEL command with various scenarios, including deleting existing keys, deleting multiple keys, and deleting non-existent keys.

Parameters:

  • t (*testing.T): Testing object for running the test.

Returns: None

Type: TestCase

Note: The TestCase type is not defined in this file, it is assumed to be defined elsewhere and used for structuring test cases.

Function: getLocalConnection

Note: The getLocalConnection function is not defined in this file, it is assumed to be defined elsewhere and returns a local client connection for testing.

Function: runTestcases

Note: The runTestcases function is not defined in this file, it is assumed to be defined elsewhere and handles running the test cases against the client.

Code Examples

None.

Getting Started Relevance