diff options
Diffstat (limited to 'src/document/mod.rs')
| -rw-r--r-- | src/document/mod.rs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/document/mod.rs b/src/document/mod.rs index 2230e47..671bf5d 100644 --- a/src/document/mod.rs +++ b/src/document/mod.rs @@ -36,6 +36,7 @@ pub(crate) mod lock; pub(crate) mod meta; pub(crate) mod replica; pub(crate) mod store; +pub(crate) mod sync; #[cfg(test)] mod tests { @@ -53,17 +54,13 @@ mod tests { } } - /// Automerge is used only in `document`, `remake` and the sync session - /// (`state/session.rs`); the rest of the node names its types as `document` - /// re-exports them and works through `document` (`architecture.md`, The document). + /// Automerge is used only in `document` and `remake`; the rest of the node names + /// its types as `document` re-exports them and works through `document` + /// (`architecture.md`, The document). #[test] fn automerge_stays_behind_document() { let src = Path::new(env!("CARGO_MANIFEST_DIR")).join("src"); - let allowed = [ - src.join("document"), - src.join("remake"), - src.join("state").join("session.rs"), - ]; + let allowed = [src.join("document"), src.join("remake")]; let mut files = Vec::new(); sources(&src, &mut files); let mut found = Vec::new(); |
