Merge pull request #222 from aeyakovenko/fixed_ignore_tests

fix ignore tests
This commit is contained in:
anatoly yakovenko 2018-05-14 22:18:38 -07:00 committed by GitHub
commit 7b88b8d159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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