remove unnecessary assert for test

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-18 20:26:32 -04:00 committed by June
parent 694b926366
commit 96e1938616
2 changed files with 2 additions and 5 deletions

View file

@ -1098,7 +1098,7 @@ mod tests {
fn invalid_pagnation_tokens() {
fn token_is_err(token: &str) {
let token: Result<PagnationToken> = PagnationToken::from_str(token);
assert!(token.is_err());
token.unwrap_err();
}
token_is_err("231_2_noabool");