Fix Kafka test which was broken by xUnit upgrade
The production code behavior hasn't changed here, but Assert.Equal used to pass when presented with an empty string and an empty byte array. Signed-off-by: Jon Skeet <jonskeet@google.com>
This commit is contained in:
parent
d9831a393d
commit
14cb9f5c02
|
@ -132,7 +132,7 @@ namespace CloudNative.CloudEvents.Kafka.UnitTests
|
|||
[Theory]
|
||||
[InlineData(MediaTypeNames.Application.Octet, new byte[0])]
|
||||
[InlineData(MediaTypeNames.Application.Json, null)]
|
||||
[InlineData(MediaTypeNames.Application.Xml, "")]
|
||||
[InlineData(MediaTypeNames.Application.Xml, new byte[0])]
|
||||
[InlineData(MediaTypeNames.Text.Plain, "")]
|
||||
[InlineData(null, null)]
|
||||
public void KafkaBinaryMessageTombstoneTest(string? contentType, object? expectedDecodedResult)
|
||||
|
|
Loading…
Reference in New Issue