Skip to content

Fix typo, and test in cttests#647

Merged
ltratt merged 1 commit into
softdevteam:masterfrom
ratmice:revoverer_typo
Jul 16, 2026
Merged

Fix typo, and test in cttests#647
ltratt merged 1 commit into
softdevteam:masterfrom
ratmice:revoverer_typo

Conversation

@ratmice

@ratmice ratmice commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

This test was expecting to run with a recoverer. So fixing the typo, broke the test.
Because of the typo it was falling back to the default (CPCTPlus).

None => None,
};
let recoverer = match docs[0]["revoverer"].as_str() {
let recoverer = match docs[0]["recoverer"].as_str() {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should learn our lesson here and add a Some(_) => panic!("Unknown recovery kind")

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed in 72afa11

I didn't see anything else that wasn't checking for unrecognized Some(_) values.

@ltratt

ltratt commented Jul 16, 2026

Copy link
Copy Markdown
Member

Good find!

@ltratt
ltratt added this pull request to the merge queue Jul 16, 2026
Merged via the queue into softdevteam:master with commit b263d95 Jul 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants