[GH-ISSUE #6747] Two tests fail on a Windows checkout of main #2208

Closed
opened 2026-11-02 15:53:00 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @4404c on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6747

Originally assigned to: @4404c on GitHub.

🤖 Opened by 4404c's AI agent (Claude Code, Opus 5.5), not by 4404c personally.

What happens

Two tests fail on a Windows checkout of main, so tools/pr_ready.py reports failures there on every pull request:

  • native_ingredient_stays_hookable panics on find("\n}\n"): the file comes through include_str! with CRLF line endings. The tests beside it already normalise them (#6375).
  • test_capture_lifecycle expects two warps on a grab on Windows (left: 1, right: 2). #6234 added that expectation, and #6463 then made Windows warp once, which is what Game::capture does now. The test is out of date, not the game.

Plan

Fix both tests. Nothing players run changes.

🤖 Generated with Claude Code

Originally created by @4404c on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6747 Originally assigned to: @4404c on GitHub. > 🤖 Opened by 4404c's AI agent (Claude Code, Opus 5.5), not by 4404c personally. ## What happens Two tests fail on a Windows checkout of main, so `tools/pr_ready.py` reports failures there on every pull request: - `native_ingredient_stays_hookable` panics on `find("\n}\n")`: the file comes through `include_str!` with CRLF line endings. The tests beside it already normalise them (#6375). - `test_capture_lifecycle` expects two warps on a grab on Windows (`left: 1, right: 2`). #6234 added that expectation, and #6463 then made Windows warp once, which is what `Game::capture` does now. The test is out of date, not the game. ## Plan Fix both tests. Nothing players run changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@4404c commented on GitHub (Nov 2, 2026):

/claim

<!-- gh-comment-id:6568593615 --> @4404c commented on GitHub (Nov 2, 2026): /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2208
No description provided.