Skip to content

Commit 8202d00

Browse files
authored
Merge pull request #99 from rabbitmq/rabbitmq-server-12919
Change stream filter prefix
2 parents 16c54d6 + a2a24b4 commit 8202d00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Consumer/StreamConsumerTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ public async Task FilterExpressionApplicationProperties()
647647
Assert.Equal(expected6, (string)m.Property("foo"));
648648
}
649649

650-
msgs = await ConsumeAsync(messageCount * 4, options => options.Property("foo", "$p:b"));
650+
msgs = await ConsumeAsync(messageCount * 4, options => options.Property("foo", "&p:b"));
651651
foreach (IMessage m in msgs)
652652
{
653653
Assert.StartsWith("b", (string)m.Property("foo"));
@@ -949,13 +949,13 @@ public async Task FilterExpressionStringModifier()
949949
await PublishAsync(q, 1, (_, msg) => msg.Subject("foo bar"));
950950
await PublishAsync(q, 1, (_, msg) => msg.Subject("ab 12"));
951951

952-
IEnumerable<IMessage> msgs = await ConsumeAsync(2, options => options.Subject("$p:ab"));
952+
IEnumerable<IMessage> msgs = await ConsumeAsync(2, options => options.Subject("&p:ab"));
953953
foreach (IMessage m in msgs)
954954
{
955955
Assert.StartsWith("ab", m.Subject());
956956
}
957957

958-
msgs = await ConsumeAsync(1, options => options.Subject("$s:bar"));
958+
msgs = await ConsumeAsync(1, options => options.Subject("&s:bar"));
959959
foreach (IMessage m in msgs)
960960
{
961961
Assert.Equal("foo bar", m.Subject());

0 commit comments

Comments
 (0)