Adding proper eror message for invalid check command in test
This commit is contained in:
parent
ff2fa37efa
commit
bfe882b2a7
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ mod tests {
|
||||||
let mock_stream = MockStream::new(response);
|
let mock_stream = MockStream::new(response);
|
||||||
let mut client = create_client_with_mock_stream(mock_stream);
|
let mut client = create_client_with_mock_stream(mock_stream);
|
||||||
client.check().unwrap();
|
client.check().unwrap();
|
||||||
assert!(client.stream.written_buf == b"a1 CHECK\r\n".to_vec(), "Invalid close command");
|
assert!(client.stream.written_buf == b"a1 CHECK\r\n".to_vec(), "Invalid check command");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue