Fix broken test
This commit is contained in:
parent
5ee055d53d
commit
030c268489
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user