• Bjorn Svensson's avatar
    Fixup of PR734: Coverage of hiredis.c (#1124) · 3b15a04b
    Bjorn Svensson authored
    
    
    Improve coverage (#734)
    
    * Remove duplicate tests
    
    - double covered by:
      "Can parse RESP3 doubles"
    - bool covered via:
      "Can parse RESP3 bool"
    
    * Make (connect) timeout in test config general
    
    * Set error string in Unix connect with invalid timeout
    
    Restructure testcase since redisConnectWithTimeout() and
    redisConnectUnixWithTimeout() now behaves similar.
    
    * Use quiet flag in lcov/genhtml instead of piping to /dev/null
    
    * Fixup of redisCommandArgv test case
    
    * Update test case to match what it covers
    
    Use new test case info text since the previous one seemed copy&pasted.
    The sought coverage was the handling of the parent-chaining
    for a double object, which the test case now focuses on.
    Co-authored-by: default avatarAriel <ashtul@gmail.com>
    3b15a04b
test.c 81.9 KB