diff --git a/csharp/src/Google.Protobuf.Test/JsonFormatterTest.cs b/csharp/src/Google.Protobuf.Test/JsonFormatterTest.cs index b0f58744da..9e994a6a9d 100644 --- a/csharp/src/Google.Protobuf.Test/JsonFormatterTest.cs +++ b/csharp/src/Google.Protobuf.Test/JsonFormatterTest.cs @@ -384,7 +384,7 @@ namespace Google.Protobuf [Test] [TestCase(1, 2123456789)] [TestCase(1, -100000000)] - public void DurationStandalone_NonNormalized(long seconds, int nanoseconds, string expected) + public void DurationStandalone_NonNormalized(long seconds, int nanoseconds) { Assert.Throws(() => new Duration { Seconds = seconds, Nanos = nanoseconds }.ToString()); }