mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:05:54 +01:00
[PR #912] [MERGED] docs/first_light: the test has 48 cases, not twenty-five (DOC-FIRST-LIGHT-TEST-COUNT) #952
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#952
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/912
Author: @TuroYT
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta
Base:
main← Head:docs/first-light-48-cases📝 Commits (1)
fc2d07adocs/first_light: the test has 48 cases, not twenty-five (DOC-FIRST-LIGHT-TEST-COUNT)📊 Changes
1 file changed (+3 additions, -5 deletions)
View changed files
📝
docs/first_light.md(+3 -5)📄 Description
Claimed in the coordination issue as: DOC-FIRST-LIGHT-TEST-COUNT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135533644)
What was wrong
docs/first_light.md:73says "The test has twenty-five cases" and then lists groups that do not match the file.docs/first_light.md:141says the default run "runs 46 tests: 42 passed, 4 skipped". A real run gives 48 tests, 44 passed, 4 skipped.Reproduction on origin/main (
a28927849):grep -n "twenty-five" docs/first_light.mdprints line 73.grep -c 'def test_' tests/test_first_light.pyprints 48.python3 -I tests/test_first_light.pyprintsRan 48 testsandOK (skipped=4).What changed
python -I tests/test_first_light.py -v. The breakdown is removed. I could not tie every group to a class with certainty, so the sentence states only the total.LEONIDA_FIRST_LIGHT_DIRis set. The line was changed because the run above proves it stale. No other number changed.Overlap check: PRs #33, #35 and #801 change
docs/first_light.mdat line 203 (section 8). PR #100 changes it at line 26. None of them touch lines 73 or 141-147.Tested
python3 -I -c "...loadTestsFromModule(m).countTestCases()"(loader): 48python3 -I tests/test_first_light.py:Ran 48 tests in 0.070s,OK (skipped=4)python3 -I tests/test_text_write_line_endings.py: OKpython3 -I scripts/check_no_game_data.py docs/first_light.md: exit 0git diff --check: cleangit grep -l 'first_light.md' -- tests/ scripts/: no file reads the doc, so no other standalone test needs a runNot tested
LEONIDA_FIRST_LIGHT_DIRset). They need game files, which this change does not use. The 4 skipped cases were not run.AI-assisted (Claude Code).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.