diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-18 17:07:30 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-18 17:07:30 +0000 |
| commit | d7ea44d5b594763116175325be06c1125983490a (patch) | |
| tree | 8be8c8a79d2a05457bd3a573a2b32aa00be9b79e /docs/tutorials/first-audit.md | |
| parent | c93ffaf30ae43cdaf1cf59684318970beca65979 (diff) | |
refactor: migrate historic_sync.rs tests to use run_sync_test() helper
- Refactored all 4 tests in historic_sync.rs to use run_sync_test()
- Tests maintain same logic and assertions, only setup simplified
- Moved run_sync_test() and SyncTestResult outside #[cfg(test)] module
- Updated validation to allow empty event slices (for announcement-only tests)
- All 4 historic_sync tests passing (test_bootstrap_syncs_existing_layer2_events, test_relay_replays_events_after_restart, test_announcement_not_listing_relay_is_not_synced, test_history_sync_without_negentropy)
- Result: 39/40 tests passing (1 more than Phase 1 baseline of 38/40)
Diffstat (limited to 'docs/tutorials/first-audit.md')
0 files changed, 0 insertions, 0 deletions