We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c0c9a commit 46bcf1cCopy full SHA for 46bcf1c
Tests/Consumer/ConsumerOutcomeTests.cs
@@ -19,7 +19,7 @@ public void ValidateAnnotations()
19
const string wrongAnnotationKey = "missing-the-start-x-annotation-key";
20
const string annotationValue = "annotation-value";
21
// This should throw an exception because the annotation key does not start with "x-"
22
- Assert.Throws<ArgumentException>(() =>
+ Assert.Throws<ArgumentOutOfRangeException>(() =>
23
Utils.ValidateMessageAnnotations(new Dictionary<string, object>
24
{
25
{ wrongAnnotationKey, annotationValue }
0 commit comments