chore(stdiscosrv): improve expire, logging

This commit is contained in:
Jakob Borg
2024-09-13 08:48:04 +02:00
parent b794726e1f
commit f3f5557c8e
2 changed files with 31 additions and 33 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ func TestFilter(t *testing.T) {
}
for _, tc := range cases {
res := expire(tc.a, 10)
res := expire(tc.a, time.Unix(0, 10))
if fmt.Sprint(res) != fmt.Sprint(tc.b) {
t.Errorf("Incorrect result %v, expected %v", res, tc.b)
}