Skip to content

Commit

Permalink
Config for allow missing
Browse files Browse the repository at this point in the history
  • Loading branch information
R3ZV committed Nov 17, 2024
1 parent 9e9862f commit 5d9f9b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/if_present.rs → tests/allow_missing.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::*;

#[test]
fn without_if_present() {
fn fail_on_unknown_recipe() {
Test::new()
.arg("execute")
.justfile(
Expand All @@ -19,7 +19,7 @@ fn without_if_present() {
#[test]
fn ignore_unknown_recipe() {
Test::new()
.args(["--if-present", "execute"])
.args(["--allow-missing", "execute"])
.justfile(
"
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ mod test;

mod allow_duplicate_recipes;
mod allow_duplicate_variables;
mod allow_missing;
mod assert_stdout;
mod assert_success;
mod assertions;
Expand Down Expand Up @@ -64,7 +65,6 @@ mod functions;
#[cfg(unix)]
mod global;
mod groups;
mod if_present;
mod ignore_comments;
mod imports;
mod init;
Expand Down

0 comments on commit 5d9f9b6

Please sign in to comment.