boa-dev / boa

Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.
MIT License
5.09k stars 400 forks source link

cargo test fails for code in docs #2605

Closed tunz closed 1 year ago

tunz commented 1 year ago

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):

jedel1043 commented 1 year ago

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