mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
test: fix failing unit tests (#1743)
This commit is contained in:
@ -6,12 +6,11 @@
|
||||
//!
|
||||
//! # Examples
|
||||
//! ```
|
||||
//! pub mod types;
|
||||
//! use self::types;
|
||||
//! use redis_interface::{types::RedisSettings, RedisConnectionPool};
|
||||
//!
|
||||
//! #[tokio::main]
|
||||
//! fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
//! let redis_conn = RedisConnectionPool::new(types::RedisSettings::default()).await;
|
||||
//! async fn main() {
|
||||
//! let redis_conn = RedisConnectionPool::new(&RedisSettings::default()).await;
|
||||
//! // ... redis_conn ready to use
|
||||
//! }
|
||||
//! ```
|
||||
|
||||
Reference in New Issue
Block a user