test(http1): fix non_fmt_panic warning (#2424)
This commit is contained in:
@@ -490,7 +490,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
if state == ChunkedState::Body || state == ChunkedState::End {
|
if state == ChunkedState::Body || state == ChunkedState::End {
|
||||||
panic!(format!("Was Ok. Expected Err for {:?}", s));
|
panic!("Was Ok. Expected Err for {:?}", s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user