diff --git a/crates/moon/tests/test_cases/fuzzy_matching/moon.test b/crates/moon/tests/test_cases/fuzzy_matching/moon.test index 5312751e..3ff992df 100644 --- a/crates/moon/tests/test_cases/fuzzy_matching/moon.test +++ b/crates/moon/tests/test_cases/fuzzy_matching/moon.test @@ -36,7 +36,7 @@ $ moon test -p asdf --sort-input --no-parallelize - Warning: no test entry found + Warning: no test entry found(test block in main package is not support for now) $ moon test -p y -f asdf --sort-input --no-parallelize Total tests: 0, passed: 0, failed: 0. diff --git a/crates/moon/tests/test_cases/mod.rs b/crates/moon/tests/test_cases/mod.rs index cdb00864..d8a3a2fc 100644 --- a/crates/moon/tests/test_cases/mod.rs +++ b/crates/moon/tests/test_cases/mod.rs @@ -3960,7 +3960,7 @@ fn test_moon_test_no_entry_warning() { check( std::str::from_utf8(&out).unwrap(), expect![[r#" - Warning: no test entry found + Warning: no test entry found(test block in main package is not support for now) "#]], ); } diff --git a/crates/moonbuild/src/gen/gen_runtest.rs b/crates/moonbuild/src/gen/gen_runtest.rs index 56fa9eff..8e5a288f 100644 --- a/crates/moonbuild/src/gen/gen_runtest.rs +++ b/crates/moonbuild/src/gen/gen_runtest.rs @@ -1106,7 +1106,10 @@ pub fn gen_n2_runtest_state( } if default.is_empty() { - eprintln!("{}: no test entry found", "Warning".yellow().bold()); + eprintln!( + "{}: no test entry found(test block in main package is not support for now)", + "Warning".yellow().bold() + ); std::process::exit(0); }