aboutsummaryrefslogtreecommitdiffstats
path: root/src/document
diff options
context:
space:
mode:
Diffstat (limited to 'src/document')
-rw-r--r--src/document/mod.rs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/document/mod.rs b/src/document/mod.rs
index 671bf5d..f11fef0 100644
--- a/src/document/mod.rs
+++ b/src/document/mod.rs
@@ -54,13 +54,18 @@ mod tests {
}
}
- /// 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).
+ /// Automerge is used only in `document` and in what remakes do to documents
+ /// (snapshots, replaying late writes, catching up, the kinds, quarantined writes);
+ /// the rest of the node, remakes' coordination included, 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")];
+ let mut allowed = vec![src.join("document")];
+ for engine in ["snapshot", "delta", "catchup", "kind", "quarantine"] {
+ allowed.push(src.join("remake").join(format!("{engine}.rs")));
+ }
let mut files = Vec::new();
sources(&src, &mut files);
let mut found = Vec::new();