Fix broken test

This commit is contained in:
Jon Skeet 2016-01-15 17:34:10 +00:00
parent 5ee055d53d
commit 030c268489

View File

@ -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());
} }