improving tests at configs

This commit is contained in:
gezimbll
2022-10-20 11:01:18 -04:00
committed by Dan Christian Bogos
parent e6dd465410
commit 4a537e73fa

View File

@@ -622,6 +622,11 @@ func TestDifference(t *testing.T) {
t.Errorf("Expecting: %+v, received: %+v", time.Date(2009, 11, 10, 22, 59, 40, 0, time.UTC), diff)
}
if _, err := Difference("time.Second", time.Date(2009, 11, 10, 22, 59, 40, 0, time.UTC), "20000000"); err != nil {
t.Errorf("%v", err)
}
}
func TestMultiply(t *testing.T) {