Skip to content

Fix regeneration of RegistrationTestData.assertion#432

Merged
emlun merged 1 commit intomainfrom
fix-generate-test-data-assertion
Sep 19, 2025
Merged

Fix regeneration of RegistrationTestData.assertion#432
emlun merged 1 commit intomainfrom
fix-generate-test-data-assertion

Conversation

@emlun
Copy link
Copy Markdown
Member

@emlun emlun commented Sep 19, 2025

This was broken in commit 8474644 because the copy method is no longer used, so this.assertion is no longer copied into newValue, and therefore newValue.assertion is always None in this .map call. The fix is to call .map on this.assertion (which is still the old value, which may be Some) instead of on newValue.assertion (which is always None).

This was broken in commit 8474644 because the
`copy` method is no longer used, so `this.assertion` is no longer copied into
`newValue`, and therefore `newValue.assertion` is always `None` in this `.map`
call. The fix is to call `.map` on `this.assertion` (which is still the old
value, which may be `Some`) instead of on `newValue.assertion` (which is always
`None`).
@emlun emlun requested a review from fdennis September 19, 2025 11:45
@github-actions
Copy link
Copy Markdown

Test Results

2 271 tests   2 263 ✅  1m 0s ⏱️
   46 suites      8 💤
   46 files        0 ❌

Results for commit e92f7ec.

@emlun emlun merged commit ee16ac6 into main Sep 19, 2025
13 of 20 checks passed
@emlun emlun deleted the fix-generate-test-data-assertion branch September 19, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants