Skip to main content

assert_cache_response

Function assert_cache_response 

Source
pub fn assert_cache_response(
    original: &ResourceRecord,
    response: &[ResourceRecord],
)
Expand description

Assert that the cache response has exactly one element and that it matches the original (all fields equal except TTL, where the original is >=).