From ffebc0e87572fead11d4a37bd110dc103b1b7b6b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 19:15:27 +0900 Subject: fix(test): correct install command expectation when no lock file present The install command succeeds with a warning when no lock file exists, rather than failing with a suggestion to run update. --- crates/mozart/tests/cli_install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/mozart') diff --git a/crates/mozart/tests/cli_install.rs b/crates/mozart/tests/cli_install.rs index 5312956..5ede8a2 100644 --- a/crates/mozart/tests/cli_install.rs +++ b/crates/mozart/tests/cli_install.rs @@ -23,8 +23,8 @@ fn test_install_no_lock_file() { .arg("--working-dir") .arg(project.path()) .assert() - .failure() - .stderr(contains("mozart update")); + .success() + .stderr(contains("No composer.lock file present")); } #[test] -- cgit v1.3.1