gitoxide
gitoxide copied to clipboard
Test failure in `gix-worktree-tests::integrate worktree::stack::ignore::check_against_baseline`: `assertion failed: user_exclude_path.is_file()`
Seeing this on current HEAD:
FAIL [ 0.017s] gix-worktree-tests::integrate worktree::stack::ignore::check_against_baseline
stdout ───
running 1 test
test worktree::stack::ignore::check_against_baseline ... FAILED
failures:
failures:
worktree::stack::ignore::check_against_baseline
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.01s
stderr ───
thread 'worktree::stack::ignore::check_against_baseline' (177595) panicked at gix-worktree/tests/worktree/stack/ignore.rs:110:5:
assertion failed: user_exclude_path.is_file()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Thanks or reporting!
This test uses the make_ignore_and_attributes_setup.sh fixture, which isn't archived and thus dependent on the locally installed versions of programs, particularly git.
In this case though, it merely expects a file to be there which I believe can always be created.
https://github.com/GitoxideLabs/gitoxide/blob/68cbea815aa979acb0b86943db83ab77bbc728c4/gix-worktree/tests/fixtures/make_ignore_and_attributes_setup.sh#L4-L16
So I wonder what happens if you retry with a fresh version of that data?
# add -e to actually perform the operation
gix clean -xd -m "*generated*"
Thanks