events: Import items from original location, not private s in a parent mod
This commit is contained in:
parent
dfce734974
commit
2c8af1e17f
@ -175,11 +175,13 @@ mod tests {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "unstable-pre-spec")]
|
#[cfg(feature = "unstable-pre-spec")]
|
||||||
use super::{AcceptEventContent, Relation};
|
use super::AcceptEventContent;
|
||||||
use super::{
|
use super::{
|
||||||
AcceptMethod, AcceptToDeviceEventContent, CustomContent, HashAlgorithm,
|
AcceptMethod, AcceptToDeviceEventContent, CustomContent, HashAlgorithm,
|
||||||
KeyAgreementProtocol, MessageAuthenticationCode, SasV1Content, ShortAuthenticationString,
|
KeyAgreementProtocol, MessageAuthenticationCode, SasV1Content, ShortAuthenticationString,
|
||||||
};
|
};
|
||||||
|
#[cfg(feature = "unstable-pre-spec")]
|
||||||
|
use crate::key::verification::Relation;
|
||||||
use crate::ToDeviceEvent;
|
use crate::ToDeviceEvent;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -52,7 +52,8 @@ mod tests {
|
|||||||
use ruma_serde::Raw;
|
use ruma_serde::Raw;
|
||||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||||
|
|
||||||
use super::{DoneEventContent, Relation};
|
use super::DoneEventContent;
|
||||||
|
use crate::key::verification::Relation;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn serialization() {
|
fn serialization() {
|
||||||
|
@ -76,7 +76,8 @@ mod tests {
|
|||||||
use ruma_serde::Raw;
|
use ruma_serde::Raw;
|
||||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||||
|
|
||||||
use super::{ReadyEventContent, ReadyToDeviceEventContent, Relation, VerificationMethod};
|
use super::{ReadyEventContent, ReadyToDeviceEventContent};
|
||||||
|
use crate::key::verification::{Relation, VerificationMethod};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn serialization() {
|
fn serialization() {
|
||||||
|
@ -262,7 +262,9 @@ mod tests {
|
|||||||
StartToDeviceEventContent,
|
StartToDeviceEventContent,
|
||||||
};
|
};
|
||||||
#[cfg(feature = "unstable-pre-spec")]
|
#[cfg(feature = "unstable-pre-spec")]
|
||||||
use super::{ReciprocateV1Content, Relation, StartEventContent};
|
use super::{ReciprocateV1Content, StartEventContent};
|
||||||
|
#[cfg(feature = "unstable-pre-spec")]
|
||||||
|
use crate::key::verification::Relation;
|
||||||
use crate::ToDeviceEvent;
|
use crate::ToDeviceEvent;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user