chore: clippy lints

master
Aravinth Manivannan 2022-02-27 18:54:13 +05:30
parent 55f7b3c3a1
commit 7fdf815a14
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 3 additions and 4 deletions

View File

@ -89,9 +89,8 @@ mod tests {
async fn static_assets_work(data: Arc<Data>, db: BoxDB) {
let app = get_app!(data, db).await;
for file in [*CSS].iter() {
let resp = get_request!(&app, file);
assert_eq!(resp.status(), StatusCode::OK);
}
let file = *CSS;
let resp = get_request!(&app, file);
assert_eq!(resp.status(), StatusCode::OK);
}
}