valkey-glide 0.9.0

Valkey GLIDE — native Rust client for Valkey and Redis OSS, built on glide-core.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
//! Mock-executor mock-executor tests for the string command family.
use super::Mock;
use crate::commands::string::StringCommands;

#[tokio::test]
async fn lcs_len_encoding() {
    let m = Mock::int(3);
    assert_eq!(m.lcs_len("k1", "k2").await.unwrap(), 3);
    m.assert_args(&["LCS", "k1", "k2", "LEN"]);
}