remove unnecessary assert for test
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -471,10 +471,7 @@ wildcard_dependencies = "warn"
|
|||||||
or_fun_call = "warn"
|
or_fun_call = "warn"
|
||||||
unnecessary_lazy_evaluations = "warn"
|
unnecessary_lazy_evaluations = "warn"
|
||||||
# as_conversions = "warn"
|
# as_conversions = "warn"
|
||||||
|
assertions_on_result_states = "warn"
|
||||||
# seems to be broken
|
|
||||||
#assertions_on_result_states = "warn"
|
|
||||||
|
|
||||||
default_union_representation = "warn"
|
default_union_representation = "warn"
|
||||||
deref_by_slicing = "warn"
|
deref_by_slicing = "warn"
|
||||||
empty_drop = "warn"
|
empty_drop = "warn"
|
||||||
|
|||||||
@@ -1098,7 +1098,7 @@ mod tests {
|
|||||||
fn invalid_pagnation_tokens() {
|
fn invalid_pagnation_tokens() {
|
||||||
fn token_is_err(token: &str) {
|
fn token_is_err(token: &str) {
|
||||||
let token: Result<PagnationToken> = PagnationToken::from_str(token);
|
let token: Result<PagnationToken> = PagnationToken::from_str(token);
|
||||||
assert!(token.is_err());
|
token.unwrap_err();
|
||||||
}
|
}
|
||||||
|
|
||||||
token_is_err("231_2_noabool");
|
token_is_err("231_2_noabool");
|
||||||
|
|||||||
Reference in New Issue
Block a user