From 37cb8d0b8fb1a8cffd07ad4e357293583cc7e1da Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Apr 2023 18:34:58 -0400 Subject: [PATCH] spelling: unexpectedly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- tests/source/expr.rs | 8 ++++++-- tests/target/expr.rs | 16 ++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/tests/source/expr.rs b/tests/source/expr.rs index f4b5a28642e..4900b7b9cbf 100644 --- a/tests/source/expr.rs +++ b/tests/source/expr.rs @@ -471,14 +471,18 @@ fn issue3226() { { { { - return Err(ErrorKind::ManagementInterfaceError("Server exited unexpectedly").into()) + { + return Err(ErrorKind::ManagementInterfaceError("Server exited unexpectedly").into()) + } } } } { { { - break Err(ErrorKind::ManagementInterfaceError("Server exited unexpectedlyy").into()) + { + break Err(ErrorKind::ManagementInterfaceError("Server exited unexpectedly").into()) + } } } } diff --git a/tests/target/expr.rs b/tests/target/expr.rs index 2e30e71434c..d6953ea69e2 100644 --- a/tests/target/expr.rs +++ b/tests/target/expr.rs @@ -550,18 +550,22 @@ fn issue3226() { { { { - return Err( - ErrorKind::ManagementInterfaceError("Server exited unexpectedly").into(), - ); + { + return Err( + ErrorKind::ManagementInterfaceError("Server exited unexpectedly").into(), + ); + } } } } { { { - break Err( - ErrorKind::ManagementInterfaceError("Server exited unexpectedlyy").into(), - ); + { + break Err( + ErrorKind::ManagementInterfaceError("Server exited unexpectedly").into(), + ); + } } } }