Skip to content

Commit

Permalink
chore(router): tree: improve debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Oct 27, 2022
1 parent c31984d commit 91a25d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions viz-router/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,9 @@ mod tests {

let tree: Tree = app.into();

assert_eq!(format!("{:#?}", tree), "Tree {
assert_eq!(
format!("{tree:#?}"),
"Tree {
method: GET,
paths:
/ •0
Expand All @@ -500,7 +502,8 @@ mod tests {
/
└── : •0
,
}");
}"
);

Ok(())
}
Expand Down

0 comments on commit 91a25d4

Please sign in to comment.