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")); }) }