From b24cead681b15a01ea0f4ec32897c6bea868b68c Mon Sep 17 00:00:00 2001 From: "Jonathan A. McCormick, Jr." <67705789+JonathanMcCormickJr@users.noreply.github.com> Date: Sun, 1 Dec 2024 19:07:00 -0600 Subject: [PATCH] Add comments to testing zone items --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 12adea2..846ac98 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ fn rocket() -> _ { mod tests { use super::*; // Import functions and routes from the main module - #[test] + #[test] // Tests the map_root function fn test_map_root() { let rocket = rocket::build() .mount("/", routes![map_root]); @@ -48,8 +48,8 @@ mod tests { ); } - #[test] - fn test_map_route() { + #[test] // Tests the map function + fn test_map() { let rocket = rocket::build() .mount("/", routes![map]); let client = Client::tracked(rocket).expect("valid rocket instance");