From aaf7166a9d528636b11a2ad835238589bf650b6e Mon Sep 17 00:00:00 2001 From: KNnut <9387720+KNnut@users.noreply.github.com> Date: Mon, 9 Nov 2020 22:38:29 +0800 Subject: refactor(cli): remove unnecessary format! calls (#8315) --- cli/tests/integration_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests') 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","#; -- cgit v1.2.3