diff options
author | KNnut <9387720+KNnut@users.noreply.github.com> | 2020-11-09 22:38:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 15:38:29 +0100 |
commit | aaf7166a9d528636b11a2ad835238589bf650b6e (patch) | |
tree | ad209b2e48d0475a5ff65427ee3ca9a49c1c9851 /cli/tests/integration_tests.rs | |
parent | 8b7f5531ee1ccde897e87890e9aabc554fedb9dd (diff) |
refactor(cli): remove unnecessary format! calls (#8315)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 16be10900..3618c2e77 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3814,7 +3814,7 @@ async fn inspector_does_not_hang() { for i in 0..128u32 { let request_id = i + 10; // Expect the number {i} on stdout. - let s = format!("{}", i); + let s = i.to_string(); assert_eq!(stdout_lines.next().unwrap(), s); // Expect hitting the `debugger` statement. let s = r#"{"method":"Debugger.paused","#; |