Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Merge pull request #222 from aeyakovenko/fixed_ignore_tests
Browse files Browse the repository at this point in the history
fix ignore tests
  • Loading branch information
aeyakovenko authored May 15, 2018
2 parents 0a46bbe + 4131071 commit 7b88b8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/crdt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ impl Crdt {
}
})
.collect();
assert!(nodes.len() > 0);
if nodes.len() < 1 {
return Err(Error::CrdtToSmall);
}

info!("nodes table {}", nodes.len());
info!("blobs table {}", blobs.len());
// enumerate all the blobs, those are the indecies
Expand Down

0 comments on commit 7b88b8d

Please sign in to comment.