Skip to content
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

tests: running the tests with --no-default-features no longer works #6273

Closed
cakebaker opened this issue Apr 26, 2024 · 1 comment · Fixed by #6279
Closed

tests: running the tests with --no-default-features no longer works #6273

cakebaker opened this issue Apr 26, 2024 · 1 comment · Fixed by #6279

Comments

@cakebaker
Copy link
Contributor

When I try to run the tests of a single util with cargo test --features "cp" --no-default-features the tests of the util itself are no longer run. Instead, the failing of two other tests is shown:

failures:

---- util_completion stdout ----
thread 'util_completion' panicked at tests/test_util_name.rs:214:5:
assertion `left == right` failed
  left: Some(2)
 right: Some(0)

---- util_manpage stdout ----
thread 'util_manpage' panicked at tests/test_util_name.rs:242:5:
assertion `left == right` failed
  left: Some(2)
 right: Some(0)


failures:
    util_completion
    util_manpage
@sylvestre
Copy link
Contributor

i guess it is #6198 by @BenWiederhake

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.

2 participants