upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/git_remote_nostr/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/git_remote_nostr/main.rs')
-rw-r--r--tests/git_remote_nostr/main.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/git_remote_nostr/main.rs b/tests/git_remote_nostr/main.rs
index fc541f8..4a17934 100644
--- a/tests/git_remote_nostr/main.rs
+++ b/tests/git_remote_nostr/main.rs
@@ -13,6 +13,19 @@ mod fetch;
13mod list; 13mod list;
14mod push; 14mod push;
15 15
16// Scenario result structs - hold immutable state from expensive setup
17// operations
18
19#[derive(Clone)]
20pub struct TwoBranchesScenario {
21 pub main_commit_id: String,
22 pub vnext_commit_id: String,
23 pub main_on_server: bool,
24 pub vnext_on_server: bool,
25 pub main_remote_ref_matches: bool,
26 pub vnext_remote_ref_matches: bool,
27}
28
16static NOSTR_REMOTE_NAME: &str = "nostr"; 29static NOSTR_REMOTE_NAME: &str = "nostr";
17static STATE_KIND: nostr::Kind = Kind::Custom(30618); 30static STATE_KIND: nostr::Kind = Kind::Custom(30618);
18 31