1
0
mirror of https://github.com/actix/actix-website synced 2025-06-27 07:29:02 +02:00

Include proper import/use example in testing docs, unit test section. (#217)

This commit is contained in:
Rokas Muningis
2021-02-28 21:31:00 +02:00
committed by GitHub
parent 56c5cbe615
commit 501d52b485

View File

@ -20,7 +20,7 @@ fn main() {
#[cfg(test)]
mod tests {
use super::*;
use actix_web::test;
use actix_web::{http, test};
#[actix_rt::test]
async fn test_index_ok() {