fix: preserve the full early Guanghu evolution period

This commit is contained in:
冰朔 2026-08-17 18:03:35 +08:00
commit 401a0a82ab
4 changed files with 37 additions and 5 deletions

View file

@ -45,6 +45,13 @@ test('the public home timeline and personal channel module share the same time a
assert.equal(contract.homepage_timeline.event_count, 12)
assert.equal(contract.homepage_timeline.external_reality_claims, false)
assert.equal(contract.homepage_timeline.permanent_idle_polling, false)
assert.equal(contract.homepage_timeline.early_evolution_period.starts_after_epoch_date, '2025-04-26')
assert.equal(contract.homepage_timeline.early_evolution_period.ends_inclusive_month, '2026-02')
assert.equal(contract.homepage_timeline.early_evolution_period.display_date, '2025-04-26 后—2026-02')
assert.equal(contract.homepage_timeline.early_evolution_period.must_not_be_omitted, true)
assert.match(rust, /GH-ERA-20250426-202602-EVOLUTION-CONFUSION/)
assert.match(rust, /系统演化与人格混乱构建期/)
assert.match(rust, /最漫长、最艰难也最黑暗/)
assert.doesNotMatch(frontend, /setInterval\s*\(/)
assert.equal(contract.personal_channel_module.installation, 'ATOMIC_WITH_PERSONAL_CHANNEL_INITIALIZATION')
assert.equal(contract.personal_channel_module.existing_channel_migration, 'IDEMPOTENT_ADDITIVE')