diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-02 12:14:50 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-02 12:14:50 +0000 |
| commit | 6e70994a30a0d0e537099094df2a8369b559586d (patch) | |
| tree | 987a9027420f83a9af3ae0c875c6bae2fea484e0 /tests/common | |
| parent | c402c34fa682037b2b01020a2c76d28baff734d8 (diff) | |
test: fix issue kind number
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/sync_helpers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/sync_helpers.rs b/tests/common/sync_helpers.rs index 8279a04..910baae 100644 --- a/tests/common/sync_helpers.rs +++ b/tests/common/sync_helpers.rs | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | //! | 2 | //! |
| 3 | //! Provides utilities for testing ngit-grasp's proactive sync functionality: | 3 | //! Provides utilities for testing ngit-grasp's proactive sync functionality: |
| 4 | //! - `TestClient` - Client wrapper with built-in retry logic | 4 | //! - `TestClient` - Client wrapper with built-in retry logic |
| 5 | //! - Event builders for Layer 2 (kind 1618) and Layer 3 (kinds 1, 1111) events | 5 | //! - Event builders for Layer 2 (kind 1621) and Layer 3 (kinds 1, 1111) events |
| 6 | //! - Assertion helpers that return bool (non-panicking) | 6 | //! - Assertion helpers that return bool (non-panicking) |
| 7 | //! | 7 | //! |
| 8 | //! # nostr-sdk 0.43 API Notes | 8 | //! # nostr-sdk 0.43 API Notes |
| @@ -18,7 +18,7 @@ use nostr_sdk::prelude::*; | |||
| 18 | use super::relay::TestRelay; | 18 | use super::relay::TestRelay; |
| 19 | 19 | ||
| 20 | /// Kind 1618 - Issue (NIP-34 git-related event) | 20 | /// Kind 1618 - Issue (NIP-34 git-related event) |
| 21 | pub const KIND_ISSUE: u16 = 1618; | 21 | pub const KIND_ISSUE: u16 = 1621; |
| 22 | 22 | ||
| 23 | /// Kind 1111 - NIP-22 Comment | 23 | /// Kind 1111 - NIP-22 Comment |
| 24 | pub const KIND_COMMENT: u16 = 1111; | 24 | pub const KIND_COMMENT: u16 = 1111; |