Skip to content

Commit

Permalink
fix use of function
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon committed Jul 28, 2024
1 parent e2fb4ba commit 8fab4d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions redis/src/cluster_routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ mod tests {
#[test]
fn test_combine_map_results() {
let input = vec![];
let result = combine_map_results(input).unwrap();
let result = super::combine_map_results(input).unwrap();
assert_eq!(result, Value::Map(vec![]));

let input = vec![
Expand All @@ -1312,7 +1312,7 @@ mod tests {
Value::Int(15),
]),
];
let result = combine_map_results(input).unwrap();
let result = super::combine_map_results(input).unwrap();
let mut expected = vec![
(Value::BulkString(b"key1".to_vec()), Value::Int(8)),
(Value::BulkString(b"key2".to_vec()), Value::Int(10)),
Expand All @@ -1327,7 +1327,7 @@ mod tests {
assert_eq!(result_vec, expected);

let input = vec![Value::Int(5)];
let result = combine_map_results(input);
let result = super::combine_map_results(input);
assert!(result.is_err());
}
}

0 comments on commit 8fab4d0

Please sign in to comment.