Skip to content

Commit

Permalink
test: add --sort-input
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Flash committed Sep 5, 2024
1 parent 5dc9b86 commit ad42646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/moon/src/cli/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn run_doc(cli: UniversalFlags, cmd: DocSubcommand) -> anyhow::Result<i32> {
let moonbuild_opt = MoonbuildOpt {
source_dir: source_dir.clone(),
target_dir,
sort_input: false,
sort_input: true,
run_mode,
..Default::default()
};
Expand Down
2 changes: 1 addition & 1 deletion crates/moon/tests/test_cases/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5503,7 +5503,7 @@ fn test_specify_source_dir_001() {
"#]],
);
check(
&get_stderr_on_success_with_args_and_replace_dir(&dir, ["check"]),
&get_stderr_on_success_with_args_and_replace_dir(&dir, ["check", "--sort-input"]),
expect![[r#"
Finished. moon: ran 3 tasks, now up to date
"#]],
Expand Down

0 comments on commit ad42646

Please sign in to comment.