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 22cc438 commit fd15ab6Copy full SHA for fd15ab6
tests/CSharp/CSharp.Tests.cs
@@ -553,7 +553,9 @@ public void TestFixedArrayRefType()
553
foosMore[1] = new Foo();
554
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => bar.Foos = foosMore);
555
Assert.AreEqual("value", ex.ParamName);
556
- Assert.AreEqual("The dimensions of the provided array don't match the required size." + Environment.NewLine + "Parameter name: value", ex.Message);
+ string[] message = ex.Message.Split(
557
+ Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
558
+ Assert.AreEqual("The dimensions of the provided array don't match the required size.", message[0]);
559
560
foreach (Foo foo in foosMore)
561
{
0 commit comments