rust: fix warning about unused values in smb tests

pull/5774/head
Philippe Antoine 6 years ago committed by Victor Julien
parent 76db6e34a1
commit 8ac363c34d

@ -126,7 +126,7 @@ mod tests {
// there should be nothing left
assert_eq!(remainder.len(), 0);
}
Err(nom::Err::Error((remainder, err))) => {
Err(nom::Err::Error((_remainder, err))) => {
panic!("Result should not be an error: {:?}.", err);
}
Err(nom::Err::Incomplete(_)) => {
@ -170,7 +170,7 @@ mod tests {
// there should be nothing left
assert_eq!(remainder.len(), 0);
}
Err(nom::Err::Error((remainder, err))) => {
Err(nom::Err::Error((_remainder, err))) => {
panic!("Result should not be an error: {:?}.", err);
}
Err(nom::Err::Incomplete(_)) => {
@ -210,7 +210,7 @@ mod tests {
// there should be nothing left
assert_eq!(remainder.len(), 0);
}
Err(nom::Err::Error((remainder, err))) => {
Err(nom::Err::Error((_remainder, err))) => {
panic!("Result should not be an error: {:?}.", err);
}
Err(nom::Err::Incomplete(_)) => {

Loading…
Cancel
Save