toxic: 0.15.1 -> 0.16.0
[NixPkgs.git] / pkgs / by-name / ju / just / fix-just-path-in-tests.patch
blob63587ebc698aa97d4845d634030e7cbd571e71c5
1 diff --git a/tests/completions/just.bash b/tests/completions/just.bash
2 index 6d5c12c..13bff87 100755
3 --- a/tests/completions/just.bash
4 +++ b/tests/completions/just.bash
5 @@ -17,11 +17,13 @@ reply_equals() {
6 fi
9 +just() {
10 + cargo run -- "$@"
13 # --- Initial Setup ---
14 source "$1"
15 cd tests/completions
16 -cargo build
17 -PATH="$(git rev-parse --show-toplevel)/target/debug:$PATH"
18 exit_code=0
20 # --- Tests ---