summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-04 14:22:49 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-04 14:22:49 +0200
commit99fce07a1473499f8538a35b29712ee3960dc789 (patch)
treebef298d9aa5cf79b2bf9b019b36420c8734f75e5 /src
parent18c3c4a0bc45ac01259235f0a7bc603e7a1307bc (diff)
Because were using the same backend here now, this is actually 2
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src')
-rw-r--r--src/async_dag.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/async_dag.rs b/src/async_dag.rs
index 7e31110..75e56fc 100644
--- a/src/async_dag.rs
+++ b/src/async_dag.rs
@@ -349,7 +349,7 @@ mod tests {
assert_eq!(dag.head, test::Id(1));
}
- assert_eq!(branched.backend.0.read().unwrap().len(), 1);
+ assert_eq!(branched.backend.0.read().unwrap().len(), 2);
assert_eq!(branched.head, test::Id(0));
}