From 3b357e540250b9327384774f833f28a1e5f40166 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 1 Jul 2022 21:59:51 -0500 Subject: [PATCH] fix parse_failure_due_conflicted_flags test (#5926) --- crates/nu-command/tests/commands/nu_check.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/nu-command/tests/commands/nu_check.rs b/crates/nu-command/tests/commands/nu_check.rs index a9b61bf5f7..30063d2724 100644 --- a/crates/nu-command/tests/commands/nu_check.rs +++ b/crates/nu-command/tests/commands/nu_check.rs @@ -719,8 +719,8 @@ fn parse_failure_due_conflicted_flags() { "# )); - assert!(actual.err.contains( - "You could not have both `--all` and `--as-module` at the same command line" - )); + assert!(actual + .err + .contains("You cannot have both `--all` and `--as-module` on the same command line")); }) }