Index: third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs b/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs |
index 4aecc998deba6ceff37aa030685b4258fa9efc86..f21be7d9b9e474b8701db6f82ba16ddd98887eb8 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs |
+++ b/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs |
@@ -96,7 +96,7 @@ namespace Google.Protobuf.WellKnownTypes |
var message = SampleMessages.CreateFullTestAllTypes(); |
var any = Any.Pack(message); |
var text = any.ToString(); |
- Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); |
+ Assert.That(text, Is.StringContaining("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); |
} |
[Test] |