Skip to content

branch::tests::name_is_valid failure #728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sergey-melnychuk opened this issue Jul 9, 2021 · 1 comment · Fixed by #740
Closed

branch::tests::name_is_valid failure #728

sergey-melnychuk opened this issue Jul 9, 2021 · 1 comment · Fixed by #740

Comments

@sergey-melnychuk
Copy link

Hi,
I am trying to build git2-rs (MacOS 11.4, rustc 1.53.0) and get following:

$ cargo test
<snip>
failures:

---- branch::tests::name_is_valid stdout ----
thread 'branch::tests::name_is_valid' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -1, klass: 0, message: "an unknown git error occurred" }', src/branch.rs:191:46
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    branch::tests::name_is_valid

test result: FAILED. 155 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s

Seems like binding to libgit2's git_branch_name_is_valid is somehow not resolved.
Am I doing something wrong?

@sergey-melnychuk
Copy link
Author

This seems relevant: #721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant