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

cargo test fails for code in docs #2605

Closed
tunz opened this issue Feb 18, 2023 · 1 comment
Closed

cargo test fails for code in docs #2605

tunz opened this issue Feb 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tunz
Copy link
Contributor

tunz commented Feb 18, 2023

The following 4 tests are failing in my machine:

failures:
    src/class.rs - class (line 4)
    src/context/hooks.rs - context::hooks::HostHooks (line 20)
    src/context/mod.rs - context::Context<'_>::eval_module (line 179)
    src/object/mod.rs - object::ObjectInitializer (line 2039)

It seems like they are all code in docs. Is CI missing these tests?

Build environment (please complete the following information):

  • OS: MacOS 13.1
  • Version: main
  • Target triple: arm64
  • Rustc version: 1.67.1
@tunz tunz added the bug Something isn't working label Feb 18, 2023
@jedel1043
Copy link
Member

Yeah, apparently nextest doesn't support doc tests at the moment. Opened #2606.

@bors bors bot closed this as completed in 60c25b4 Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants