Skip to content

Commit

Permalink
Add comments to testing zone items
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMcCormickJr committed Dec 2, 2024
1 parent 4202702 commit b24cead
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand All @@ -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");
Expand Down

0 comments on commit b24cead

Please sign in to comment.