Skip to main content

hstrlen_test.go

hstrlen_test.go - Overview

This file contains tests for the HSTRLEN command, verifying that it correctly returns the length of a field's value in a hash.

Detailed Documentation

TestHSTRLEN

  • Purpose: Tests the HSTRLEN command with various valid and invalid inputs.
  • Parameters:
    • t: *testing.T - Testing context.
  • Returns: None

Getting Started Relevance