Commit 567291987750800be4f0be3a204418a5941f4883
Merge branch 'block3'
Dominic Tarr committed on 6/9/2017, 11:51:45 PMParent: 69ca154b097d82ae706ce63f2005f3e2b7b6a702
Parent: a5863ed6af73f89e56c11e0019e14538eb5c7cae
Files changed
test/block3.js | changed |
test/block3.js | ||
---|---|---|
@@ -59,9 +59,9 @@ | ||
59 | 59 | }) |
60 | 60 | |
61 | 61 | bob.on('replicate:finish', function (vclock) { |
62 | 62 | //I don't care which messages bob doesn't have of alice's |
63 | - t.ok(vclock[alice.id] < 2, 'bob has alices first message') | |
63 | + t.ok(vclock[alice.id] < 2 || vclock[alice.id] == null, 'bob does not receive the message where alice blocked him') | |
64 | 64 | alice.close();bob.close();carol.close() |
65 | 65 | t.end() |
66 | 66 | }) |
67 | 67 | |
@@ -82,4 +82,5 @@ | ||
82 | 82 | |
83 | 83 | |
84 | 84 | |
85 | 85 | |
86 | + |
Built with git-ssb-web