aboutsummaryrefslogtreecommitdiff
path: root/tests/test_parse_bulk_string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parse_bulk_string.rs')
-rw-r--r--tests/test_parse_bulk_string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parse_bulk_string.rs b/tests/test_parse_bulk_string.rs
index 1543262..a247b6e 100644
--- a/tests/test_parse_bulk_string.rs
+++ b/tests/test_parse_bulk_string.rs
@@ -30,7 +30,7 @@ fn test_valid_bulk_strings() {
// large string
let large_content = "x".repeat(1000);
let large_bulk = format!("$1000\r\n{}\r\n", large_content);
- if let RespType::BulkString(bulk) = parse_bulk_strings(large_bulk.as_bytes()).unwrap().0 {}
+ if let RespType::BulkString(_) = parse_bulk_strings(large_bulk.as_bytes()).unwrap().0 {}
assert_eq!(
parse_bulk_strings(large_bulk.as_bytes()).unwrap().0,