1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

//! Integration tests for `DynamicCache`.

use cachet_tier::DynamicCache;
#[cfg(feature = "test-util")]
use cachet_tier::MockCache;

#[cfg(feature = "test-util")]
#[test]
fn debug_output_is_correct() {
    let cache = DynamicCache::new(MockCache::<String, i32>::new());
    let debug_output = format!("{cache:?}");
    assert_eq!(debug_output, "DynamicCache");
}