From 9604e5be4337d61cc2c2e2c2d52cc4c572805a4a Mon Sep 17 00:00:00 2001 From: Young-Flash Date: Mon, 9 Sep 2024 11:07:06 +0800 Subject: [PATCH] minor: fix test (#269) --- crates/moon/tests/test_cases/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/moon/tests/test_cases/mod.rs b/crates/moon/tests/test_cases/mod.rs index 383db79e..cc047c39 100644 --- a/crates/moon/tests/test_cases/mod.rs +++ b/crates/moon/tests/test_cases/mod.rs @@ -3559,18 +3559,18 @@ fn test_deny_warn() { &get_stderr_on_success_with_args_and_replace_dir(&dir, ["build", "--sort-input"]), expect![[r#" Warning: [2000] - ╭─[$ROOT/lib/hello.mbt:14:3] + ╭─[$ROOT/lib/hello.mbt:13:3] │ - 14 │ alert_2(); + 13 │ alert_1(); │ ───┬─── - │ ╰───── Warning (Alert alert_2): alert_2 + │ ╰───── Warning (Alert alert_1): alert_1 ────╯ Warning: [2000] - ╭─[$ROOT/lib/hello.mbt:13:3] + ╭─[$ROOT/lib/hello.mbt:14:3] │ - 13 │ alert_1(); + 14 │ alert_2(); │ ───┬─── - │ ╰───── Warning (Alert alert_1): alert_1 + │ ╰───── Warning (Alert alert_2): alert_2 ────╯ Warning: [1002] ╭─[$ROOT/lib/hello.mbt:4:7]