Skip to content

Commit 46bcf1c

Browse files
committed
fixup
1 parent 79c0c9a commit 46bcf1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Consumer/ConsumerOutcomeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void ValidateAnnotations()
1919
const string wrongAnnotationKey = "missing-the-start-x-annotation-key";
2020
const string annotationValue = "annotation-value";
2121
// This should throw an exception because the annotation key does not start with "x-"
22-
Assert.Throws<ArgumentException>(() =>
22+
Assert.Throws<ArgumentOutOfRangeException>(() =>
2323
Utils.ValidateMessageAnnotations(new Dictionary<string, object>
2424
{
2525
{ wrongAnnotationKey, annotationValue }

0 commit comments

Comments
 (0)