Skip to content

Commit 8b8841d

Browse files
indranilmaitihylandadamrodger
authored andcommitted
Fix content creation syntax in messaging pacts
1 parent b3c2fe1 commit 8b8841d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/messaging-pacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public class StockEventGeneratorTests : IDisposable
141141
ContentType = "application/json",
142142
Key = "value"
143143
})
144-
.WithContent(new[]
144+
.WithContent(()=>new[]
145145
{
146146
new StockEvent { Name = "AAPL", Price = 1.23m },
147147
new StockEvent { Name = "TSLA", Price = 4.56m }

0 commit comments

Comments
 (0)