Index: third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs b/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs |
index 1d9908b4d314b7518008fc0bea24a6254f9d88bc..89bc82759c59ea4151654dc7a4ba7d78cfc32313 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs |
+++ b/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs |
@@ -46,8 +46,8 @@ namespace Google.Protobuf.WellKnownTypes |
var mask = new FieldMask { Paths = { input } }; |
var text = mask.ToString(); |
// More specific test below |
- Assert.That(text, Does.Contain("@warning")); |
- Assert.That(text, Does.Contain(input)); |
+ Assert.That(text, Is.StringContaining("@warning")); |
+ Assert.That(text, Is.StringContaining(input)); |
} |
[Test] |