Development record
Three tests (pace_stored_test.go, receipt_text_test.go, state_text_test.go) use schemaVersionUnkept, version 9, as the earlier version they migrate from, so since state schema version 11 they no longer test the version just before the current one.
issueresolvednitpickiss-2610142134346602
Three tests (pace_stored_test.go, receipt_text_test.go, state_text_test.go) use schemaVersionUnkept, version 9, as the earlier version they migrate from, so since state schema version 11 they no longer test the version just before the current one.
Grounds
- pursued: the three tests read a forged state at the current version and at SchemaVersion-1; it would be shown wrong if any of them still passed schemaVersionUnkept, or if schemaVersionPrevious stopped being the newest read-only version, either of which fails TestTheStoredTextTestsReadTheVersionJustBeforeTheCurrent
Frontmatter
| id | iss-2610142134346602 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | nitpick |
.abcd/work/issues/resolved/iss-2610142134346602-state-tests-pin-version-9-as-previous.md
open on GitHub ↗ · commit history ↗