浏览代码

Fix broken test

Jon Skeet 9 年之前
父节点
当前提交
030c268489
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      csharp/src/Google.Protobuf.Test/JsonFormatterTest.cs

+ 1 - 1
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<InvalidOperationException>(() => new Duration { Seconds = seconds, Nanos = nanoseconds }.ToString());
         }