Fix broken test

pull/1145/head
Jon Skeet 9 years ago
parent 5ee055d53d
commit 030c268489
  1. 2
      csharp/src/Google.Protobuf.Test/JsonFormatterTest.cs

@ -384,7 +384,7 @@ namespace Google.Protobuf
[Test] [Test]
[TestCase(1, 2123456789)] [TestCase(1, 2123456789)]
[TestCase(1, -100000000)] [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()); Assert.Throws<InvalidOperationException>(() => new Duration { Seconds = seconds, Nanos = nanoseconds }.ToString());
} }

Loading…
Cancel
Save