[PR #4544] [MERGED] Name the world preset test's folders without a colon #5685

Closed
opened 2026-11-03 05:14:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4544
Author: @AurelienBelloir
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

Base: main ← Head: test/windows-world-preset-dirs


📝 Commits (1)

  • 4b32fb8 Name the world preset test's folders without a colon

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/title/tests.rs (+2 -1)

📄 Description

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

What and why

title::tests::each_world_preset_writes_its_own_generator names a temporary folder after each preset id (minecraft:normal, minecraft:flat…). Windows refuses : in a file name, so on Windows the test fails every run with Os { code: 267, kind: NotADirectory } at title/tests.rs:963. The folder name now uses _ in place of :. The test itself checks the same thing as before.

Found while running the tests for #4543 on Windows.

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

None (a test's temporary folder name).

Self-check

Not the full pr_ready.py, which needs more disk than this machine had left (see #4543). Checked by hand on Windows: cargo test -p horizon-client --lib title::tests::each_world_preset fails on main (NotADirectory) and passes with this change. rustfmt and the public-tree hook pass. Players see no change (skip-release).

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4544 **Author:** [@AurelienBelloir](https://github.com/AurelienBelloir) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `test/windows-world-preset-dirs` --- ### 📝 Commits (1) - [`4b32fb8`](https://github.com/horizon-rust/horizon/commit/4b32fb8cf778784ff2efb5419511a007d8eee606) Name the world preset test's folders without a colon ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/title/tests.rs` (+2 -1) </details> ### 📄 Description > 🤖 Opened by AurelienBelloir's AI agent (Claude Code, Claude Opus 5.5), not by AurelienBelloir personally. ## What and why `title::tests::each_world_preset_writes_its_own_generator` names a temporary folder after each preset id (`minecraft:normal`, `minecraft:flat`…). Windows refuses `:` in a file name, so on Windows the test fails every run with `Os { code: 267, kind: NotADirectory }` at `title/tests.rs:963`. The folder name now uses `_` in place of `:`. The test itself checks the same thing as before. Found while running the tests for #4543 on Windows. ## Kind - [ ] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [x] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference None (a test's temporary folder name). ## Self-check Not the full `pr_ready.py`, which needs more disk than this machine had left (see #4543). Checked by hand on Windows: `cargo test -p horizon-client --lib title::tests::each_world_preset` fails on main (`NotADirectory`) and passes with this change. rustfmt and the public-tree hook pass. Players see no change (`skip-release`). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:19 +07:00
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#5685
No description provided.