mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
cargo fmt
This commit is contained in:
parent
bec7bbf96c
commit
3a35cd6c8f
294 changed files with 6809 additions and 3911 deletions
|
|
@ -236,9 +236,18 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn flask_login_required_resolves_case_insensitively() {
|
||||
assert!(is_router_auth_marker(AuthFramework::Flask, "login_required"));
|
||||
assert!(is_router_auth_marker(AuthFramework::Flask, "Login_Required"));
|
||||
assert!(!is_router_auth_marker(AuthFramework::Flask, "something_else"));
|
||||
assert!(is_router_auth_marker(
|
||||
AuthFramework::Flask,
|
||||
"login_required"
|
||||
));
|
||||
assert!(is_router_auth_marker(
|
||||
AuthFramework::Flask,
|
||||
"Login_Required"
|
||||
));
|
||||
assert!(!is_router_auth_marker(
|
||||
AuthFramework::Flask,
|
||||
"something_else"
|
||||
));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue