mirror of
https://github.com/firecrawl/firecrawl.git
synced 2026-08-29 03:07:44 +08:00
814a38867c
Two problems with the previous commit, both mine. `cargo fmt --check` failed on tests/agent_model.rs. I ran cargo build and cargo test but not the formatter, so I reported that change as verified when I had only checked part of what CI runs. Reading the workflow to find that out surfaced the second problem: the Rust job runs `cargo test --lib`, which does not execute integration tests under tests/. The regression test I had just added would have been compiled and clippy-checked but never run — no protection at all. Moved both cases into the existing `mod tests` in src/types.rs so they actually execute. tests/audit_metadata.rs has the same gap, left alone as out of scope here. Verified against the whole workflow this time: fmt --check, build --all-targets, clippy -D warnings, test --lib (67 passing), and build --examples. Confirmed the moved test still fails with the Unknown variant removed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>