Skip to content

check_cards: CultureMech's CHANGED detail says the generated block was 'found' when it is missing #247

Description

@realmarcin

From the round-4 review of #212.

Where: scripts/fleet/check_cards.py read_source().

The message is built as f"{kind} shape changed; {where} found". For CultureMech, where is "the generated block that states it", so the log reads "text shape changed; the generated block that states it found", which is the opposite of the truth. It appears both when the markers are missing and when the block has no figure. Commit e0775e5 in this PR introduced it; the previous wording said the block "is gone". The test checks only the status, so nothing noticed.

Fix: reword the message to say the block is missing or states no figure, and assert the text in the test.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions