We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 195ca47 commit db7a319Copy full SHA for db7a319
db/database_test.go
@@ -1463,7 +1463,10 @@ func TestSyncFnOnPush(t *testing.T) {
1463
"public": &channels.ChannelRemoval{Seq: 2, RevID: "4-four"},
1464
}, doc.Channels)
1465
1466
- assert.Equal(t, base.SetOf("clibup"), doc.History["4-four"].Channels)
+ // We no longer store channels for the winning revision in the RevTree,
1467
+ // so don't expect it to be in doc.History like it used to be...
1468
+ // The above assertion ensured the doc was *actually* in the correct channel.
1469
+ assert.Nil(t, doc.History["4-four"].Channels)
1470
}
1471
1472
func TestInvalidChannel(t *testing.T) {
0 commit comments