Skip to content

Commit

Permalink
feat(justfile): allow extra arguments on just test
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Nov 28, 2024
1 parent e795c5d commit 1ed3e2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ fmt:
cd engine && dune fmt

# Run hax tests: each test crate has a snapshot, so that we track changes in extracted code. If a snapshot changed, please review them with `just test-review`.
test:
cargo test --test toolchain
test *FLAGS:
cargo test --test toolchain {{FLAGS}}

_test:
CARGO_TESTS_ASSUME_BUILT=1 cargo test --test toolchain
_test *FLAGS:
CARGO_TESTS_ASSUME_BUILT=1 cargo test --test toolchain {{FLAGS}}

# Review snapshots
test-review: (_ensure_command_in_path "cargo-insta" "Insta (https://insta.rs)")
Expand Down

0 comments on commit 1ed3e2a

Please sign in to comment.