From e4f6978792c0335f961d0ab9c473c560166e56a1 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:23:40 -0700 Subject: [PATCH] Make cfg(test) --- openmls/src/group/core_group/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmls/src/group/core_group/mod.rs b/openmls/src/group/core_group/mod.rs index d1d4dddccd..b3f02738c1 100644 --- a/openmls/src/group/core_group/mod.rs +++ b/openmls/src/group/core_group/mod.rs @@ -604,7 +604,8 @@ impl CoreGroup { self.public_group.group_context() } - pub fn group_context_extensions(&self) -> &Extensions { + #[cfg(test)] + pub(crate) fn group_context_extensions(&self) -> &Extensions { self.context().extensions() }