()
| 832 | // #[test] |
| 833 | #[allow(dead_code)] |
| 834 | fn another_repo() { |
| 835 | let f = Fixtures::copy("simple"); |
| 836 | let other_repo = RepoId::try_from("/other/").unwrap(); |
| 837 | let parent_path = parse_id("00001"); |
| 838 | |
| 839 | let result = f |
| 840 | .upsert_topic( |
| 841 | other_repo, |
| 842 | "Topic name", |
| 843 | &parent_path, |
| 844 | OnMatchingSynonym::Ask, |
| 845 | ) |
| 846 | .unwrap(); |
| 847 | let topic = result.repo_topic.unwrap(); |
| 848 | let topic_id = topic.topic_id(); |
| 849 | |
| 850 | assert!(f.git.exists(other_repo, topic_id).unwrap()); |
| 851 | } |
| 852 | } |
| 853 | |
| 854 | #[cfg(test)] |
nothing calls this directly
no test coverage detected