Even curiouser
This commit is contained in:
parent
dbf3aedf5e
commit
08d9bf34b0
|
@ -200,8 +200,8 @@ func TestMessageBusSubscribeWithIndex(t *testing.T) {
|
|||
|
||||
mb.Unsubscribe("id1", "foo")
|
||||
|
||||
mb.Put(mb.NewMessage(topic, []byte("bar"))) // ID == 2
|
||||
mb.Put(mb.NewMessage(topic, []byte("baz"))) // ID == 3
|
||||
require.NoError(mb.Put(mb.NewMessage(topic, []byte("bar")))) // ID == 2
|
||||
require.NoError(mb.Put(mb.NewMessage(topic, []byte("baz")))) // ID == 3
|
||||
|
||||
msgs = mb.Subscribe("id1", "foo", WithIndex(1))
|
||||
|
||||
|
|
Loading…
Reference in New Issue