Skip to content

Commit dd32463

Browse files
committed
Fix test.
1 parent 1cc261b commit dd32463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/msgpack.light.tests/Reader/Binary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void Test(byte[] value, byte[] data)
134134
public void FailToReadOldBinary(byte[] data)
135135
{
136136
var e = Should.Throw<SerializationException>(() => MsgPackSerializer.Deserialize<byte[]>(data));
137-
e.Message.ShouldBe("Reading a string as a byte array is disabled. Set MsgPackContext.BinaryCompatibilityMode property to true to enable it");
137+
e.Message.ShouldBe("Reading a string as a byte array is disabled. Set 'binaryCompatibilityMode' parameter in MsgPackContext constructor to true to enable it");
138138
}
139139

140140
[Theory]

0 commit comments

Comments
 (0)