diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 16:26:50 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 16:26:50 +0000 |
| commit | bb9abe353024878e6bf1884cf3fb5a115e75bd03 (patch) | |
| tree | df58222203dfa188d6e0813cd5379971af50316d /tests/sync.rs | |
| parent | f49644963369ea45ca1856e8e5c6c2e7a33b3aa7 (diff) | |
Phase 7: Implement tag variation tests
Add comprehensive tests for different Layer 2 and Layer 3 tag variations:
Layer 2 tests (Tests 8a-c) - all pass:
- test_layer2_sync_with_lowercase_a_tag (standard NIP-01)
- test_layer2_sync_with_uppercase_a_tag (NIP-33)
- test_layer2_sync_with_q_tag (NIP-18 quotes)
Layer 3 tests (Tests 9a-c) - marked #[ignore]:
- test_layer3_sync_with_lowercase_e_tag (NIP-01)
- test_layer3_sync_with_uppercase_e_tag (NIP-22)
- test_layer3_sync_with_q_tag (NIP-18)
Layer 3 tests have full implementation but are ignored until
Layer 3 sync is enabled in the relay.
Diffstat (limited to 'tests/sync.rs')
| -rw-r--r-- | tests/sync.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sync.rs b/tests/sync.rs index 81d1527..7756c17 100644 --- a/tests/sync.rs +++ b/tests/sync.rs | |||
| @@ -27,4 +27,5 @@ mod sync { | |||
| 27 | pub mod bootstrap; | 27 | pub mod bootstrap; |
| 28 | pub mod discovery; | 28 | pub mod discovery; |
| 29 | pub mod live_sync; | 29 | pub mod live_sync; |
| 30 | pub mod tag_variations; | ||
| 30 | } \ No newline at end of file | 31 | } \ No newline at end of file |