Skip to content

Commit

Permalink
test: better format
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Apr 18, 2024
1 parent 3f83f38 commit bb463c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tokio-console/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,10 @@ mod tests {
#[test]
fn test_format_location_macos() {
// macOS style paths.
let location4 = proto::Location { file: Some("/Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.1/src/lib.rs".to_string()), ..Default::default() };
let location4 = proto::Location {
file: Some("/Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.1/src/lib.rs".to_string()),
..Default::default()
};
let location5 = proto::Location {
file: Some("/Users/user/.cargo/git/checkouts/tokio-1.0.1/src/lib.rs".to_string()),
..Default::default()
Expand Down

0 comments on commit bb463c1

Please sign in to comment.